File

src/exception/user/user-password-not-valid.ts

Extends

ApiException

Index

Properties
Methods

Properties

code
Type : number
Default value : 1003
http_status_code
Default value : HttpStatus.NOT_FOUND
message
Type : string
Default value : 'Password is wrong'
code
Type : number
Default value : 1
Inherited from ApiException
Defined in ApiException:5
data
Default value : undefined
Inherited from ApiException
Defined in ApiException:8
http_status_code
Default value : HttpStatus.INTERNAL_SERVER_ERROR
Inherited from ApiException
Defined in ApiException:7
message
Type : string
Default value : 'Internal Server Error'
Inherited from ApiException
Defined in ApiException:6

Methods

toJSON
toJSON()
Inherited from ApiException
Defined in ApiException:21
Returns : { code: number; message: string; data: any; } | { code: number; message: string; data?: undefined...
import { ApiException } from '../../module/routing/exception/api.exception';
import { HttpStatus } from '@nestjs/common';

export class UserPasswordNotValidException extends ApiException {

	code = 1003;
	message = 'Password is wrong';
	http_status_code = HttpStatus.NOT_FOUND;

}

result-matching ""

    No results matching ""