Exception: Arfi::Errors::NoFunctionsDir
- Inherits:
-
StandardError
- Object
- StandardError
- Arfi::Errors::NoFunctionsDir
- Defined in:
- lib/arfi/errors.rb
Overview
Raised when there is no ‘db/functions` directory in the Rails project.
Instance Method Summary collapse
-
#initialize(message = 'There is no such directory: db/functions. Did you run `bundle exec arfi project:create`?') ⇒ void
constructor
Initialize a new NoFunctionsDir error with an optional custom message.
Constructor Details
#initialize(message = 'There is no such directory: db/functions. Did you run `bundle exec arfi project:create`?') ⇒ void
Initialize a new NoFunctionsDir error with an optional custom message.
11 12 13 14 15 |
# File 'lib/arfi/errors.rb', line 11 def initialize( = 'There is no such directory: db/functions. Did you run `bundle exec arfi project:create`?') @message = super end |