Function: ApiConflictEntityCreation
exceptions/src.ApiConflictEntityCreation
ApiConflictEntityCreation(...
errorCodes): <TFunction,Y>(target,propertyKey?,descriptor?) =>void
Parameters
▪ ...errorCodes: string[]
Returns
function
<
TFunction,Y>(target,propertyKey?,descriptor?):voidFunction that returns a new decorator that applies all decorators provided by param
Useful to build new decorators (or a decorator factory) encapsulating multiple decorators related with the same feature
Type parameters
▪ TFunction extends
Function▪ Y
Parameters
▪ target:
object|TFunction▪ propertyKey?:
string|symbol▪ descriptor?:
TypedPropertyDescriptor<Y>Returns
voidPublic Api
Source
node_modules/@nestjs/common/decorators/core/apply-decorators.d.ts:10
Source
libs/exceptions/src/lib/swagger/confliect-entity-creation.decorator.ts:11
Generated using typedoc-plugin-markdown and TypeDoc