Exception: Yoga::LocationError Private

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

Overview

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

An error that has a corresponding location information.

Direct Known Subclasses

ParseError, ScanError, UnexpectedCharacterError

Instance Attribute Summary collapse

Method Summary

Methods inherited from Error

#generate_message, #initialize

Constructor Details

This class inherits a constructor from Yoga::Error

Instance Attribute Details

#locationObject (readonly)

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.


33
34
35
# File 'lib/yoga/errors.rb', line 33

def location
  @location
end