class KYAML::StrictError

Overview

Base error class for all strict-mode parsing rejections. Because of the hierarchy here, KYAML lib consumers can still broadly rescue any strict-mode violations without dropping into specific error types/causes.

Raises when KYAML.parse(input, strict: true) runs into a non-KYAML structure.

Direct Known Subclasses

Defined in:

kyaml/error.cr

Instance methods inherited from class KYAML::ParseError

column : Int32 | Nil column, line : Int32 | Nil line

Constructor methods inherited from class KYAML::ParseError

new(message : String, line : Int32 | Nil = nil, column : Int32 | Nil = nil) new

Instance methods inherited from class Reference

==(other : KYAML::Any) ==

Instance methods inherited from class Object

to_kyaml(io : IO) : Nil
to_kyaml(builder : KYAML::Builder) : Nil
to_kyaml : String
to_kyaml