Table of Contents

Class InvalidRequestBodyException

Namespace
JsonApiDotNetCore.Errors
Assembly
JsonApiDotNetCore.dll

The error that is thrown when deserializing the request body fails.

[PublicAPI]
public sealed class InvalidRequestBodyException : JsonApiException, ISerializable
Inheritance
InvalidRequestBodyException
Implements
Inherited Members

Constructors

InvalidRequestBodyException(string?, string?, string?, string?, HttpStatusCode?, Exception?)

The error that is thrown when deserializing the request body fails.

public InvalidRequestBodyException(string? requestBody, string? genericMessage, string? specificMessage, string? sourcePointer, HttpStatusCode? alternativeStatusCode = null, Exception? innerException = null)

Parameters

requestBody string
genericMessage string
specificMessage string
sourcePointer string
alternativeStatusCode HttpStatusCode?
innerException Exception