-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/add interceptors and filter #17
Conversation
} | ||
|
||
private async handle(request: Request, error: Error) { | ||
//TODO: DISCORD_WEBHOOK_URL 추가 예정 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
내가 추후에 붙이겠소
[additional: string]: any; | ||
}; | ||
|
||
export enum ExceptionType { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enum 말고 object로 해볼까요 우리?
import { createException } from './exception.factory'; | ||
import { ExceptionType } from './exception.type'; | ||
|
||
const ExceptionOf = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
중복 코드가 많다면 reduce로 처리해볼까요? 우리 ?
12571f1
to
9a3a80e
Compare
PR Type
For what purpose
Key changes
To reviewers
Screenshots