Showing the changes to apps/server/src/workspace/WorkspaceFileSystem.ts (1 of 250 files). Show all
Unified · Split
| @@ -30,7 +30,7 @@ import * as WorkspacePaths from "./WorkspacePaths.ts"; · 29 unmodified lines | ||
| 30 | 30 | |
| 31 | 31 | const PROJECT_READ_FILE_MAX_BYTES = 1024 * 1024; |
| 32 | 32 | |
| 33 | −export class WorkspaceFileSystemOperationError extends Schema.TaggedErrorClass<WorkspaceFileSystemOperationError>()( | |
| 33 | +export class WorkspaceFileSystemOperationError extends Schema.TaggedError<WorkspaceFileSystemOperationError>()( | |
| 34 | 34 | "WorkspaceFileSystemOperationError", |
| 35 | 35 | { |
| 36 | 36 | workspaceRoot: Schema.String, |
| @@ -55,7 +55,7 @@ export class WorkspaceFileSystemOperationError extends Schema.TaggedErrorClass<W · 18 unmodified lines | ||
| 55 | 55 | } |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | −export class WorkspaceFilePathEscapeError extends Schema.TaggedErrorClass<WorkspaceFilePathEscapeError>()( | |
| 58 | +export class WorkspaceFilePathEscapeError extends Schema.TaggedError<WorkspaceFilePathEscapeError>()( | |
| 59 | 59 | "WorkspaceFilePathEscapeError", |
| 60 | 60 | { |
| 61 | 61 | workspaceRoot: Schema.String, |
| @@ -69,7 +69,7 @@ export class WorkspaceFilePathEscapeError extends Schema.TaggedErrorClass<Worksp · 7 unmodified lines | ||
| 69 | 69 | } |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | −export class WorkspacePathNotFileError extends Schema.TaggedErrorClass<WorkspacePathNotFileError>()( | |
| 72 | +export class WorkspacePathNotFileError extends Schema.TaggedError<WorkspacePathNotFileError>()( | |
| 73 | 73 | "WorkspacePathNotFileError", |
| 74 | 74 | { |
| 75 | 75 | workspaceRoot: Schema.String, |
| @@ -82,7 +82,7 @@ export class WorkspacePathNotFileError extends Schema.TaggedErrorClass<Workspace · 6 unmodified lines | ||
| 82 | 82 | } |
| 83 | 83 | } |
| 84 | 84 | |
| 85 | −export class WorkspaceBinaryFileError extends Schema.TaggedErrorClass<WorkspaceBinaryFileError>()( | |
| 85 | +export class WorkspaceBinaryFileError extends Schema.TaggedError<WorkspaceBinaryFileError>()( | |
| 86 | 86 | "WorkspaceBinaryFileError", |
| 87 | 87 | { |
| 88 | 88 | workspaceRoot: Schema.String, |