View Source JsonSchema.Parser.ParserError (json_schema v0.4.0)
Represents an error generated while parsing a JSON schema object.
Link to this section Summary
Functions
Constructs a ParserError
.
Link to this section Types
@type error_type() ::
:could_not_read_file
| :invalid_json
| :unresolved_reference
| :unknown_type
| :unexpected_type
| :unknown_enum_type
| :unknown_union_type
| :unknown_primitive_type
| :unknown_node_type
@type t() :: %JsonSchema.Parser.ParserError{ error_type: error_type(), identifier: JsonSchema.Types.typeIdentifier(), message: String.t() }
Link to this section Functions
@spec new(JsonSchema.Types.typeIdentifier(), atom(), String.t()) :: t()
Constructs a ParserError
.