Constructors
DeserializationErrorMalformed StringMalformed JSON has syntax errors in the JSON itself (i.e., we cannot even parse it to a JSValue)
DeserializationErrorSchema StringInvalid JSON has valid syntax but invalid structure
The string gives a hint about what we expected instead
DeserializationErrorUnknownKey KeyIdThe JSON file contains a key ID of an unknown key
DeserializationErrorValidation StringSome verification step failed
DeserializationErrorFileType String StringWrong file type
Records actual and expected types.
Instances6Show, Exception, Pretty, MonadError
Show DeserializationErrorDefined in hackage-security-0.6.3.2 · Hackage.Security.JSONException DeserializationErrorDefined in hackage-security-0.6.3.2 · Hackage.Security.JSONPretty DeserializationErrorDefined in hackage-security-0.6.3.2 · Hackage.Security.JSONMonadError DeserializationError ReadJSON_Keys_LayoutDefined in hackage-security-0.6.3.2 · Hackage.Security.JSONMonadError DeserializationError ReadJSON_Keys_NoLayoutDefined in hackage-security-0.6.3.2 · Hackage.Security.JSONMonadError DeserializationError ReadJSON_NoKeys_NoLayoutDefined in hackage-security-0.6.3.2 · Hackage.Security.JSON