Exception: Arfi::Errors::NoFunctionsDir

Inherits:
StandardError
  • Object
show all
Defined in:
lib/arfi/errors.rb

Overview

This error is raised when there is no ‘db/functions` directory

Instance Method Summary collapse

Constructor Details

#initialize(message = 'There is no such directory: db/functions. Did you run `bundle exec arfi project:create`?') ⇒ NoFunctionsDir

Returns a new instance of NoFunctionsDir.



7
8
9
10
11
# File 'lib/arfi/errors.rb', line 7

def initialize(message =
                 'There is no such directory: db/functions. Did you run `bundle exec arfi project:create`?')
  @message = message
  super
end