# `JsonSchema.Parser.ParserError`
[🔗](https://github.com/dragonwasrobot/json_schema/blob/0.6.0/lib/parser/parser_result_types.ex#L1)

Represents an error generated while parsing a JSON schema object.

# `error_type`

```elixir
@type error_type() ::
  :could_not_read_file
  | :invalid_json
  | :invalid_uri
  | :missing_property
  | :name_collision
  | :name_not_a_regex
  | :unexpected_type
  | :unexpected_value
  | :unknown_enum_type
  | :unknown_node_type
  | :unknown_primitive_type
  | :unknown_type
  | :unknown_union_type
  | :unresolved_reference
```

# `t`

```elixir
@type t() :: %JsonSchema.Parser.ParserError{
  error_type: error_type(),
  identifier: JsonSchema.Types.typeIdentifier(),
  message: String.t()
}
```

# `new`

```elixir
@spec new(JsonSchema.Types.typeIdentifier(), error_type(), String.t()) :: t()
```

Constructs a `ParserError`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
