Converted the majority of Errors to InvalidOperation (see #144)