Skip to content

Commit 6b66fce

Browse files
committed
feat(api): add errors to result interface
1 parent 83a392b commit 6b66fce

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/types/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,16 @@ export interface Entity {
6363
data: any[] | any
6464
}
6565

66+
export interface ProviderError {
67+
service: string
68+
function: string
69+
message: string
70+
}
71+
6672
export interface ProviderData {
6773
entities: Entity[]
6874
connections: { [key: string]: ServiceConnection[] }
75+
errors?: ProviderError[]
6976
}
7077

7178
export type LoggerInput = string | { [key: string]: any } | unknown

0 commit comments

Comments
 (0)