@taico/errors 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/error-codes.d.ts +2 -0
- package/dist/error-codes.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
# @taico/errors
|
|
2
2
|
|
|
3
|
-
[](https://badge.socket.dev/npm/package/@taico/errors/0.10.1)
|
package/dist/error-codes.d.ts
CHANGED
|
@@ -98,6 +98,8 @@ export declare const ErrorCodes: {
|
|
|
98
98
|
readonly GITHUB_REQUEST_FAILED: "GITHUB_REQUEST_FAILED";
|
|
99
99
|
readonly PULL_REQUEST_NOT_FOUND: "PULL_REQUEST_NOT_FOUND";
|
|
100
100
|
readonly PULL_REQUEST_REF_INVALID: "PULL_REQUEST_REF_INVALID";
|
|
101
|
+
readonly ISSUE_NOT_FOUND: "ISSUE_NOT_FOUND";
|
|
102
|
+
readonly ISSUE_REF_INVALID: "ISSUE_REF_INVALID";
|
|
101
103
|
readonly VALIDATION_FAILED: "VALIDATION_FAILED";
|
|
102
104
|
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
103
105
|
};
|
package/dist/error-codes.js
CHANGED
|
@@ -115,6 +115,8 @@ export const ErrorCodes = {
|
|
|
115
115
|
GITHUB_REQUEST_FAILED: 'GITHUB_REQUEST_FAILED',
|
|
116
116
|
PULL_REQUEST_NOT_FOUND: 'PULL_REQUEST_NOT_FOUND',
|
|
117
117
|
PULL_REQUEST_REF_INVALID: 'PULL_REQUEST_REF_INVALID',
|
|
118
|
+
ISSUE_NOT_FOUND: 'ISSUE_NOT_FOUND',
|
|
119
|
+
ISSUE_REF_INVALID: 'ISSUE_REF_INVALID',
|
|
118
120
|
// Generic errors
|
|
119
121
|
VALIDATION_FAILED: 'VALIDATION_FAILED',
|
|
120
122
|
INTERNAL_ERROR: 'INTERNAL_ERROR',
|