class
Oxide::Error
- Oxide::Error
- Exception
- Reference
- Object
Overview
Base error for all oxide errors to extend from
Direct Known Subclasses
Defined in:
oxide/error.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) - #locations : Array(Location)
- #path : Array(String | Int32) | Nil
- #to_h
- #to_json(builder : JSON::Builder)
Constructor Detail
def self.new(message, locations : Array(Oxide::Location) = [] of Location, path : Nil | Array(Int32 | String) = nil)
#
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.