Skip to content

Commit ec0d0a9

Browse files
Error Messages File
1 parent 07b5a69 commit ec0d0a9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/config/Error.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/** Coaster Error Messages */
2+
const COASTERS_ACCOUNT_LINKED = { code: 'ACCOUNT_ALREADY_LINKED', message: 'This coaster is already linked to your account.', status: 400};
3+
// const Coasters_
4+
5+
/** Auth Error Messages */
6+
const AUTH_NOT_FOUND = { code: 'ACCOUNT_NOT_FOUND', message: "Account could not be found", status: 404};
7+
8+
/** Host Error Messages */
9+
10+
/** Sessions Error Messages */
11+
12+
/** Spotify Error Messages */
13+
14+
/** User Error Messages */
15+
16+
module.exports = { COASTERS_ACCOUNT_LINKED, AUTH_NOT_FOUND }

0 commit comments

Comments
 (0)