Skip to content

Commit

Permalink
Merge pull request #172 from StarfilesFileSharing/alpha
Browse files Browse the repository at this point in the history
Alpha
  • Loading branch information
QuixThe2nd authored Nov 16, 2024
2 parents a1ffd32 + 5912248 commit 9e33945
Show file tree
Hide file tree
Showing 15 changed files with 309 additions and 210 deletions.
2 changes: 1 addition & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@starfiles/hydrafiles",
"version": "0.9.1",
"version": "0.9.2",
"description": "The (P2P) web privacy layer.",
"main": "src/hydrafiles.ts",
"exports": {
Expand Down
33 changes: 33 additions & 0 deletions src/errors.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
export class ErrorTimeout extends Error {
readonly brand = Symbol();
}
export class ErrorNotFound extends Error {
readonly brand = Symbol();
}
export class ErrorMissingRequiredProperty extends Error {
readonly brand = Symbol();
}
export class ErrorUnreachableCodeReached extends Error {
readonly brand = Symbol();
}
export class ErrorNotInitialised extends Error {
readonly brand = Symbol();
}
export class ErrorWrongDatabaseType extends Error {
readonly brand = Symbol();
}
export class ErrorChecksumMismatch extends Error {
readonly brand = Symbol();
}
export class ErrorRequestFailed extends Error {
readonly brand = Symbol();
}
export class ErrorDownloadFailed extends Error {
readonly brand = Symbol();
}
export class ErrorFailedToReadFile extends Error {
readonly brand = Symbol();
}
export class ErrorInsufficientBalance extends Error {
readonly brand = Symbol();
}
Loading

0 comments on commit 9e33945

Please sign in to comment.