class

Kozai::Config::ParseError

Inherits Kozai::Error < Exception < Reference < Object

Raised when a configuration file or an environment override is malformed.

Reports the source and line so the operator can fix it over a slow ssh link without guessing.

Constructors

new(message : String, path : String | Nil = nil, line_number : Int32 | Nil = nil)
Source

Instance methods

line_number

1-based line number within the file, if applicable.

Source
path

Path of the configuration file, or nil for environment overrides.

Source