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

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

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



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

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