Table of Contents

Class CannotClearRequiredRelationshipException

Namespace
JsonApiDotNetCore.Errors
Assembly
JsonApiDotNetCore.dll

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

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

Constructors

CannotClearRequiredRelationshipException(string, string)

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

public CannotClearRequiredRelationshipException(string relationshipName, string resourceType)

Parameters

relationshipName string
resourceType string