Table of Contents

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 HttpMethod
route string

Properties

Method

public HttpMethod Method { get; }

Property Value

HttpMethod