From 879e9a3ea06973ca2cdb9945077b730b64c9e68f Mon Sep 17 00:00:00 2001 From: Amar kumar singh Date: Mon, 4 Dec 2023 12:12:28 +0530 Subject: [PATCH 1/3] Create authenticationException.js and deleted unauthenticatedException.js (#4) * Update package.json update version * Update package.json * Create authenticationException.js * Delete auth/unauthenticatedException.js --- auth/authenticationException.js | 4 ++++ auth/unauthenticatedException.js | 4 ---- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 auth/authenticationException.js delete mode 100644 auth/unauthenticatedException.js diff --git a/auth/authenticationException.js b/auth/authenticationException.js new file mode 100644 index 0000000..61661d9 --- /dev/null +++ b/auth/authenticationException.js @@ -0,0 +1,4 @@ +class AuthenticationException extends Error{ + +} +module.exports = AuthenticationException diff --git a/auth/unauthenticatedException.js b/auth/unauthenticatedException.js deleted file mode 100644 index 52adcbc..0000000 --- a/auth/unauthenticatedException.js +++ /dev/null @@ -1,4 +0,0 @@ -class UnauthenticatedException{ - -} -module.exports = UnauthenticatedException \ No newline at end of file diff --git a/package.json b/package.json index d268562..caa0045 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ostro/contracts", - "version": "0.0.0-alpha.2", + "version": "1.0.0", "description": "Contracts module for OstroJS", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" From 2e32156e0680bc2b9c24fd6d42e003e17d3643c8 Mon Sep 17 00:00:00 2001 From: Amar kumar singh Date: Mon, 25 Dec 2023 22:43:27 +0530 Subject: [PATCH 2/3] Update httpException.js (#6) --- http/httpException.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/http/httpException.js b/http/httpException.js index 8169b05..d204f32 100644 --- a/http/httpException.js +++ b/http/httpException.js @@ -1,4 +1,4 @@ -class HttpException{ +class HttpException extends Error{ } -module.exports = HttpException \ No newline at end of file +module.exports = HttpException From 56b49b0f3ee2181bfb22400bc2e6607b0b0bf77d Mon Sep 17 00:00:00 2001 From: Amar kumar singh Date: Thu, 28 Dec 2023 14:44:49 +0530 Subject: [PATCH 3/3] Develop (#7) * Update httpException.js * Create modelNotFoundException.js --- database/eloquent/modelNotFoundException.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 database/eloquent/modelNotFoundException.js diff --git a/database/eloquent/modelNotFoundException.js b/database/eloquent/modelNotFoundException.js new file mode 100644 index 0000000..9e9185e --- /dev/null +++ b/database/eloquent/modelNotFoundException.js @@ -0,0 +1,5 @@ +class ModelNotFoundException extends Error{ + +} + +module.exports = ModelNotFoundException