class

CycloneDX::ValidationError

Inherits Reference / Object

Constructors

new(path : String, message : String)
Source

Instance methods

message
Source
path
Source
to_s(io : IO) : Nil

Defined as to_s(io) rather than a no-arg to_s : String: string interpolation and IO#<< go through the IO form, so overriding only the no-arg form left "#{error}" printing the default #<ValidationError:0x…> while a direct error.to_s looked correct.

Source