Exception: Arfi::Errors::NoFunctionsDir
- Defined in:
- lib/arfi/errors.rb,
sig/lib/arfi/errors.rbs
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`?') ⇒ NoFunctionsDir
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`?') ⇒ NoFunctionsDir
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 |