summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-06-01 08:04:30 +0200
committerRory& <root@rory.gay>2025-06-01 08:04:30 +0200
commit0ca7c01bc4a6c5ab50ac80f9a8e5d5c5db442f45 (patch)
tree8434910cae60074aa51113f9b99d3e9635ea39e0 /src/util
parentAdd register with validation (diff)
downloadnodejs-final-assignment-0ca7c01bc4a6c5ab50ac80f9a8e5d5c5db442f45.tar.xz
Register works, part of login and auth middleware
Diffstat (limited to 'src/util')
-rw-r--r--src/util/error.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/error.js b/src/util/error.js

index 5fc454a..9816b65 100644 --- a/src/util/error.js +++ b/src/util/error.js
@@ -1,4 +1,7 @@ export class SafeNSoundError extends Error { + /** + * @param options {SafeNSoundError} + */ constructor(options) { super(); if (typeof options === 'string') {