class

XML::Error

Inherits Exception / Reference / Object

Constructors

new(message, line_number : Int32)
Source
new(error : Pointer(LibXML::Error))
Source

Class methods

collect(errors, &)

DEPRECATED Legacy libxml2 API that mutate global state. Do not use.

Source
collect_generic(errors, &)

DEPRECATED Legacy libxml2 API that mutate global state. Do not use.

Source
errors

DEPRECATED This class accessor is deprecated. XML errors are accessible directly in the respective context via XML::Reader#errors and XML::Node#errors.

Source

Instance methods

line_number
Source