Class: Hexp::FormatError

Inherits:
Error
  • Object
show all
Defined in:
lib/hexp/errors.rb

Overview

Raised when trying to stick things inside a Hexp where they don’t belong

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'You have illegal contents in your Hexp') ⇒ FormatError

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Create a new FormatError



12
13
14
# File 'lib/hexp/errors.rb', line 12

def initialize(msg = 'You have illegal contents in your Hexp')
  super
end