Exception: Brut::Framework::Errors::NotImplemented

Inherits:
Brut::Framework::Error show all
Defined in:
lib/brut/framework/errors/not_implemented.rb

Overview

Thrown when use of a feature of Brut is detected, but that feature is not yet implemented. This is advisory only and not a promise to ever implement that feature. It's mostly used when two APIs are very similar and one might expect both to
support the same features, but for technical reasons one of the APIs does not.

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ NotImplemented

Returns a new instance of NotImplemented.



7
8
9
10
11
12
13
# File 'lib/brut/framework/errors/not_implemented.rb', line 7

def initialize(message=nil)
  if message.nil?
    super
  else
    super("NOT IMPLEMENTED: #{message}")
  end
end