Class RouteNotAvailableException
- Namespace
- JsonApiDotNetCore.Errors
- Assembly
- JsonApiDotNetCore.dll
The error that is thrown when a request is received for an HTTP route that is not exposed.
[PublicAPI]
public sealed class RouteNotAvailableException : JsonApiException, ISerializable
- Inheritance
-
RouteNotAvailableException
- Implements
- Inherited Members
Constructors
RouteNotAvailableException(HttpMethod, string)
The error that is thrown when a request is received for an HTTP route that is not exposed.
public RouteNotAvailableException(HttpMethod method, string route)
Parameters
method
HttpMethodroute
string
Properties
Method
public HttpMethod Method { get; }