Table of Contents

Class ResourceAlreadyExistsException

Namespace
JsonApiDotNetCore.Errors
Assembly
JsonApiDotNetCore.dll

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

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

Constructors

ResourceAlreadyExistsException(string, string)

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

public ResourceAlreadyExistsException(string resourceId, string resourceType)

Parameters

resourceId string
resourceType string