Exception: Vissen::Output::ContextError

Inherits:
Error
  • Object
show all
Defined in:
lib/vissen/output/context_error.rb

Overview

Context errors occur when two components of the output stack are used together even though they do not share the same context.

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'The context of the given object does not match') ⇒ ContextError

Returns a new instance of ContextError.

Parameters:

  • msg (String) (defaults to: 'The context of the given object does not match')

    the error messge.



9
10
11
# File 'lib/vissen/output/context_error.rb', line 9

def initialize(msg = 'The context of the given object does not match')
  super
end