change the naming of invalidOperation exception to the more fc-friendly
invalid_operation, and add an implementation so it can be used.