class Zugpferd::ParseError

Overview

Raised by Reader.from_xml or Reader.parse_profile when the XML is structurally invalid or a required element is missing. #field names the offending XML element where known.

Defined in:

zugpferd/error.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(message : String, field : String | Nil = nil) #

[View source]

Instance Method Detail

def field : String | Nil #

[View source]