-
Notifications
You must be signed in to change notification settings - Fork 6
/
error.properties
152 lines (127 loc) · 5.5 KB
/
error.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# ______ ____ __
# / ____/___ _____ ___ ___ / __ )____ ____ / /_
# / / __/ __ `/ __ `__ \/ _ \ / __ / __ \/ __ \/ __/
# / /_/ / /_/ / / / / / / __/ / /_/ / /_/ / /_/ / /_
# \____/\__,_/_/ /_/ /_/\___/ /_____/\____/\____/\__/
#
# .-'\
# .-' `/\
# .-' `/\
# \ `/\
# \ `/\
# \ _- `/\ _.--.
# \ _- `/`-..--\ )
# \ _- `,',' / ,')
# `-_ - ` -- ~ ,','
# `- ,','
# \,--. ____==-~
# \ \_-~\
# `_-~_.-'
# \-~
#
# http://mrstampy.github.io/gameboot/
#
# Error Properties file for GameBoot.
#
# Error properties consist of 3 parts, a code, a function and a description.
# Naming must be consitent for the property to load. Example:
#
# my.new.error.code=-54321
# my.new.error.function=myfunction
# my.new.error.description=Some meaningful contextual description of the code
#
# Codes must be unique. Error codes of -1 thru -99 are GameBoot reserved.
#
# @see com.github.mrstampy.gameboot.messages.context.GameBootResponseContextConfiguration
#
# Copyright (C) 2015, 2016 Burton Alexander
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
unexpected.error.code=-99
unexpected.error.function=general
unexpected.error.description=An unexpected error has occurred.
no.message.code=-98
no.message.function=general
no.message.description=No message to process.
no.type.code=-97
no.type.function=converter
no.type.description=The attribute 'type' is missing from the message.
unknown.message.type.code=-96
unknown.message.type.function=general
unknown.message.type.description=Unrecognized message.
otp.invalid.key.func.code=-95
otp.invalid.key.func.function=otp
otp.invalid.key.func.description=keyFunction must be one of NEW or DELETE
no.systemid.code=-94
no.systemid.function=general
no.systemid.description=The attribute 'systemId' is missing from the message.
systemid.mismatch.code=-93
systemid.mismatch.function=general
systemid.mismatch.description=The systemId provided is invalid.
otp.invalid.key.size.code=-92
otp.invalid.key.size.function=otp
otp.invalid.key.size.description=Invalid key size, must be a power of 2.
otp.new.key.activation.failed.code=-91
otp.new.key.activation.failed.function=otp
otp.new.key.activation.failed.description=OTP key activation failed.
user.session.exists.code=-90
user.session.exists.function=usersession
user.session.exists.description=A session already exists for this user.
no.user.code=-89
no.user.function=usersession
no.user.description=No user record found.
no.user.session.code=-88
no.user.session.function=usersession
no.user.session.description=No active session found for this user.
invalid.session.id.code=-87
invalid.session.id.function=usersession
invalid.session.id.description=Invalid sessionId.
no.username.code=-86
no.username.function=usersession
no.username.description=The userName is missing.
invalid.user.func.code=-85
invalid.user.func.function=usersession
invalid.user.func.description='function' must be one of CREATE, DELETE, UPDATE, LOGIN, LOGOUT
old.password.missing.code=-84
old.password.missing.function=usersession
old.password.missing.description='oldPassword' is missing from the request.
new.password.missing.code=-83
new.password.missing.function=usersession
new.password.missing.description='newPassword' is missing from the request.
no.data.to.update.code=-82
no.data.to.update.function=usersession
no.data.to.update.description=No user data to update.
cannot.delete.user.code=-81
cannot.delete.user.function=usersession
cannot.delete.user.description=Cannot delete user, state is not active.
invalid.password.code=-80
invalid.password.function=usersession
invalid.password.description=The password supplied is invalid.
user.update.unchanged.code=-79
user.update.unchanged.function=usersession
user.update.unchanged.description=The user record is unchanged.
otp.message.must.be.byte.array.code=-78
otp.message.must.be.byte.array.function=otp
otp.message.must.be.byte.array.description=The message must be a byte array.
unexpected.message.code=-77
unexpected.message.function=general
unexpected.message.description=The message received is unexpected.
lang.code.missing.code=-76
lang.code.missing.function=locale
lang.code.missing.description=At least the language code must be supplied for the locale.
must.be.code=-75
must.be.function=general
must.be.description=\{0\} must be \{1\}