struct

Hwaro::Services::Issue

Inherits JSON::Serializable < Struct < Value < Object

Represents a single diagnostic issue found by the doctor language is set only by the translation check and line only by the front-matter schema check (being nil everywhere else, both are omitted from every other issue's JSON).

Constructors

new(id : String, level : Symbol, category : String, file : String | Nil, message : String, language : String | Nil = nil, line : Int32 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

category
clone
Source
copy_with(id _id = @id, level _level = @level, category _category = @category, file _file = @file, message _message = @message, language _language = @language, line _line = @line)
Source
file
id
language
level
Source
line
message

Nested types