References ErrorCodeSerializableInterface
Reference
I
Interface

ApiPlatform\Exception\ErrorCodeSerializableInterface

An exception which has a serializable application-specific error code.

interface ApiPlatform\Exception\ErrorCodeSerializableInterface
{
    public getErrorCode(): string
}

Methods

getErrorCode

Gets the application-specific error code.

public getErrorCode(): string

Returns

string

Made with love by

Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.

Learn more

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop