add options to ruby's raise method