Is there a best practice for defining custom error types in a Ruby library (gem) or Ruby on Rails application? Specifically:
in rails you can make app/errors directory
app/errors
# app/errors/foo_error.rb class FooError < StandardError; end
restart spring/server and it should pick it up