Prettier...
continuous-integration/drone/pr Build is failing

This commit is contained in:
mifi committed 2023-05-24 10:33:06 -04:00
1 parent b8102fb291
commit da3f895777
4 files changed
+9 -9

No files matched your search

+3 -3
View File
@@ -1,9 +1,9 @@
import { Payload } from '../../types/Payload';
import { ServiceError } from './ServiceError';
import { Payload } from "../../types/Payload";
import { ServiceError } from "./ServiceError";
export class ApiError extends ServiceError {
constructor(message: string, debug?: Payload) {
super(message, debug);
this.name = 'ApiError';
this.name = "ApiError";
}
}
+3 -3
View File
@@ -1,9 +1,9 @@
import { Payload } from '../../types/Payload';
import { ServiceError } from './ServiceError';
import { Payload } from "../../types/Payload";
import { ServiceError } from "./ServiceError";
export class DatabaseError extends ServiceError {
constructor(message: string, debug?: Payload) {
super(message, debug);
this.name = 'DatabaseError';
this.name = "DatabaseError";
}
}
+2 -2
View File
@@ -1,4 +1,4 @@
import { Payload } from '../../types/Payload';
import { Payload } from "../../types/Payload";
export class ServiceError extends Error {
public env = process.env;
@@ -6,7 +6,7 @@ export class ServiceError extends Error {
constructor(message: string, debug?: Payload) {
super(message);
this.name = 'ServiceError';
this.name = "ServiceError";
this.debug = debug;
}
}
+1 -1
View File
@@ -1,4 +1,4 @@
import { Payload } from './Payload';
import { Payload } from "./Payload";
export interface ApiResponse<T = Payload> {
data?: T;