parent
1850dd542d
commit
d23ed002b2
|
@ -76,4 +76,15 @@ export class UserNotFoundError extends NotFoundError {
|
|||
|
||||
@IsString()
|
||||
message = "no user could be found for provided credential"
|
||||
}
|
||||
|
||||
/**
|
||||
* Error to thow when no jwt token was provided
|
||||
*/
|
||||
export class JwtNotProvidedError extends NotAcceptableError {
|
||||
@IsString()
|
||||
name = "JwtNotProvidedError"
|
||||
|
||||
@IsString()
|
||||
message = "no jwt token was provided"
|
||||
}
|
Loading…
Reference in New Issue