mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
Address styling concerns
This commit is contained in:
@@ -31,7 +31,7 @@ export class HttpException extends Error {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
private getErrorString(target: string | object) {
|
||||
private getErrorString(target: string | object): string{
|
||||
if (typeof target === 'string') {
|
||||
return target;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user