mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-19 08:02:55 +00:00
feat: upgrade prettier to v3
This commit is contained in:
@@ -45,7 +45,12 @@ export abstract class SCError implements SCErrorResponse {
|
||||
* @param statusCode HTTP status code to return this error with
|
||||
* @param stack Set to true if a stack trace should be created
|
||||
*/
|
||||
constructor(public name: string, public message: string, public statusCode: number, stack = false) {
|
||||
constructor(
|
||||
public name: string,
|
||||
public message: string,
|
||||
public statusCode: number,
|
||||
stack = false,
|
||||
) {
|
||||
// generate stacktrace if needed
|
||||
if (stack) {
|
||||
// eslint-disable-next-line unicorn/error-message
|
||||
|
||||
Reference in New Issue
Block a user