JSONPath.Error exception (JSONPath v0.4.0)

Copy Markdown View Source

Error value for invalid JSONPath queries

Summary

Types

error_type()

@type error_type() ::
  :invalid_expression
  | :unexpcected_argument
  | :unexpected_comparison
  | :invalid_number
  | :invalid_unicode
  | :invalid_pattern

t()

@type t() :: %JSONPath.Error{
  __exception__: term(),
  expression: binary(),
  message: binary(),
  type: error_type()
}