Table of Contents

Namespace JsonApiDotNetCore.Errors

Classes

CannotClearRequiredRelationshipException

The error that is thrown when a required relationship is cleared.

DuplicateLocalIdValueException

The error that is thrown when assigning a local ID that was already assigned in an earlier operation.

FailedOperationException

The error that is thrown when an operation in an atomic:operations request failed to be processed for unknown reasons.

IncompatibleLocalIdTypeException

The error that is thrown when referencing a local ID that was assigned to a different resource type.

InvalidConfigurationException

The error that is thrown when configured usage of this library is invalid.

InvalidModelStateException

The error that is thrown when ASP.NET ModelState validation fails.

InvalidQueryException

The error that is thrown when translating a QueryLayer to Entity Framework Core fails.

InvalidQueryStringParameterException

The error that is thrown when processing the request fails due to an error in the request query string.

InvalidRequestBodyException

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

JsonApiException

The base class for an Exception that represents one or more JSON:API error objects in an unsuccessful response.

LocalIdSingleOperationException

The error that is thrown when assigning and referencing a local ID within the same operation.

MissingResourceInRelationship
MissingTransactionSupportException

The error that is thrown when accessing a repository that does not support transactions during an atomic:operations request.

NonParticipatingTransactionException

The error that is thrown when a repository does not participate in the overarching transaction during an atomic:operations request.

RelationshipNotFoundException

The error that is thrown when a relationship does not exist.

ResourceAlreadyExistsException

The error that is thrown when creating a resource with an ID that already exists.

ResourceNotFoundException

The error that is thrown when a resource does not exist.

ResourcesInRelationshipsNotFoundException

The error that is thrown when referencing one or more non-existing resources in one or more relationships.

RouteNotAvailableException

The error that is thrown when a request is received for an HTTP route that is not exposed.

UnknownLocalIdValueException

The error that is thrown when referencing a local ID that hasn't been assigned.

UnsuccessfulActionResultException

The error that is thrown when an IActionResult with non-success status is returned from a controller method.