Module Backup::ErrorsHelper
In: lib/backup/errors.rb
  • automatically defines module namespaces referenced under Backup::Errors
  • any constant name referenced that ends with ‘Error’ will be created as a subclass of Backup::Errors::Error

e.g.

  err = Backup::Errors::Foo::Bar::FooError.new('error message')
  err.message => "Foo::Bar::FooError: error message"

Methods

Public Instance methods

[Validate]