Class UnsuccessfulActionResultException
- Namespace
- JsonApiDotNetCore.Errors
- Assembly
- JsonApiDotNetCore.dll
The error that is thrown when an IActionResult with non-success status is returned from a controller method.
[PublicAPI]
public sealed class UnsuccessfulActionResultException : JsonApiException, ISerializable
- Inheritance
-
UnsuccessfulActionResultException
- Implements
- Inherited Members
Constructors
UnsuccessfulActionResultException(ProblemDetails)
public UnsuccessfulActionResultException(ProblemDetails problemDetails)
Parameters
problemDetails
ProblemDetails
UnsuccessfulActionResultException(HttpStatusCode)
public UnsuccessfulActionResultException(HttpStatusCode status)
Parameters
status
HttpStatusCode