Structured error returned from MapKit JS token generation helpers.
@type t() :: %MapkitJS.Error{ __exception__: true, details: term(), message: String.t() }
@spec invalid_origin(term()) :: t()