Showing the changes to apps/server/src/sourceControl (4 of 36 files). Show all
Unified · Split
| @@ -21,7 +21,7 @@ export class AzureDevOpsCliError extends Schema.TaggedErrorClass<AzureDevOpsCliE · 20 unmodified lines | |||
| 21 | { | 21 | { |
| 22 | operation: Schema.String, | 22 | operation: Schema.String, |
| 23 | detail: Schema.String, | 23 | detail: Schema.String, |
| 24 | cause: Schema.optional(Schema.Defect), | 24 | cause: Schema.optional(Schema.Defect()), |
| 25 | }, | 25 | }, |
| 26 | ) { | 26 | ) { |
| 27 | override get message(): string { | 27 | override get message(): string { |
| @@ -37,7 +37,7 @@ export class BitbucketApiError extends Schema.TaggedErrorClass<BitbucketApiError · 36 unmodified lines | |||
| 37 | operation: Schema.String, | 37 | operation: Schema.String, |
| 38 | detail: Schema.String, | 38 | detail: Schema.String, |
| 39 | status: Schema.optional(Schema.Number), | 39 | status: Schema.optional(Schema.Number), |
| 40 | cause: Schema.optional(Schema.Defect), | 40 | cause: Schema.optional(Schema.Defect()), |
| 41 | }, | 41 | }, |
| 42 | ) { | 42 | ) { |
| 43 | override get message(): string { | 43 | override get message(): string { |
| @@ -19,7 +19,7 @@ const DEFAULT_TIMEOUT_MS = 30_000; · 18 unmodified lines | |||
| 19 | export class GitHubCliError extends Schema.TaggedErrorClass<GitHubCliError>()("GitHubCliError", { | 19 | export class GitHubCliError extends Schema.TaggedErrorClass<GitHubCliError>()("GitHubCliError", { |
| 20 | operation: Schema.String, | 20 | operation: Schema.String, |
| 21 | detail: Schema.String, | 21 | detail: Schema.String, |
| 22 | cause: Schema.optional(Schema.Defect), | 22 | cause: Schema.optional(Schema.Defect()), |
| 23 | }) { | 23 | }) { |
| 24 | override get message(): string { | 24 | override get message(): string { |
| 25 | return `GitHub CLI failed in ${this.operation}: ${this.detail}`; | 25 | return `GitHub CLI failed in ${this.operation}: ${this.detail}`; |
| @@ -18,7 +18,7 @@ const DEFAULT_TIMEOUT_MS = 30_000; · 17 unmodified lines | |||
| 18 | export class GitLabCliError extends Schema.TaggedErrorClass<GitLabCliError>()("GitLabCliError", { | 18 | export class GitLabCliError extends Schema.TaggedErrorClass<GitLabCliError>()("GitLabCliError", { |
| 19 | operation: Schema.String, | 19 | operation: Schema.String, |
| 20 | detail: Schema.String, | 20 | detail: Schema.String, |
| 21 | cause: Schema.optional(Schema.Defect), | 21 | cause: Schema.optional(Schema.Defect()), |
| 22 | }) { | 22 | }) { |
| 23 | override get message(): string { | 23 | override get message(): string { |
| 24 | return `GitLab CLI failed in ${this.operation}: ${this.detail}`; | 24 | return `GitLab CLI failed in ${this.operation}: ${this.detail}`; |