mirror of
https://github.com/gradle/actions.git
synced 2025-11-26 17:09:10 +08:00
Combine all sources into a sub-directory
This commit is contained in:
11
sources/src/errors.ts
Normal file
11
sources/src/errors.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export class PostActionJobFailure extends Error {
|
||||
constructor(error: unknown) {
|
||||
if (error instanceof Error) {
|
||||
super(error.message)
|
||||
this.name = error.name
|
||||
this.stack = error.stack
|
||||
} else {
|
||||
super(String(error))
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user