Exception: PgRls::Errors::RakeOnlyError

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ RakeOnlyError

Returns a new instance of RakeOnlyError.



6
7
8
9
# File 'lib/pg_rls/errors/rake_only_error.rb', line 6

def initialize(msg = nil)
  msg ||= 'This method can only be executed through rake tasks'
  super(msg)
end