Skip to content

Custom Exception 만들기 #38

Description

@WoungSub-Byun
  • /goout-api/src/util/exception.ts
    throw new HttpException({ status: HttpStatus.FORBIDDEN, error: 'This is a custom message', }, HttpStatus.FORBIDDEN);
  • 위와 같은 형태로 Exception 명시

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions