-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy patherrors.json
227 lines (227 loc) · 10.6 KB
/
errors.json
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
{
"401": "Unauthenticated user",
"403": "Access denied",
"404": "Resource not found",
"500": "Server errors",
"502": "Server errors",
"503": "Server errors",
"504": "The server did not respond.",
"default": "An error has occurred.",
"pageNotFound": "The page you are looking for does not exist.",
"core": {
"assert_error": "Assert error at {{file_location}}: {{assert_message}}",
"missing_last_stdcm_stop": "STDCM requests that don't end with a stop aren't currently supported"
},
"editoast": {
"attached": {
"TrackNotFound": "Track {{track_id}} not found"
},
"authz": {
"AuthError": "Authentication/authorization internal error, try again or contact support",
"Authz": "Authentication/authorization internal error, try again or contact support",
"DbError": "Database access fatal error",
"Driver": "Authentication/authorization internal error, try again or contact support",
"NoSuchUser": "Unknown user",
"Unauthenticated": "Unauthenticated user",
"Unauthorized": "Access denied"
},
"auto_fixes": {
"ConflictingFixesOnSameObject": "Conflicting fixes for the same object on the same fix-iteration",
"FixTrialFailure": "Failed trying to apply fixes",
"MaximumIterationReached": "Reached maximum number of iterations to fix infrastructure without providing every possible fixes",
"MissingErrorObject": "Failed to find the error's object"
},
"cache_operation": {
"DuplicateIdsProvided": "{{obj_type}} {{obj_id}} : a duplicate already exists",
"ObjectNotFound": "{{obj_type}} {{obj_id}} could not be found everywhere in the infrastructure cache"
},
"coreclient": {
"BrokenPipe": "Core connection broken pipe. Should retry.",
"CannotExtractResponseBody": "Cannot extract Core response body: {{msg}}",
"ConnectionClosedBeforeMessageCompleted": "Core connection closed before message completed. Should retry.",
"ConnectionResetByPeer": "Core connection reset by peer. Should retry.",
"CoreResponseFormatError": "Cannot parse Core response: {{msg}}",
"GenericCoreError": "Core error {{raw_error}}",
"Lapin": "Core: message queue: protocol error",
"ResponseTimeout": "Core: request timeout",
"Serialization": "Core: cannot serialize request",
"StatusParsing": "Core: cannot parse status",
"UnparsableErrorOutput": "Core returned an error in an unknown format",
"ConnectionDoesNotExist": "Core: message queue: connection not established",
"CreatePoolLapin": "Core: message queue: cannot create pool",
"DeadpoolLapin": "Core: message queue: pool error"
},
"DatabaseAccessError": "Database access fatal error",
"document": {
"NotFound": "Document '{{document_key}}' not found"
},
"electrical_profiles": {
"NotFound": "Electrical Profile Set '{{electrical_profile_set_id}}', could not be found"
},
"geometry": {
"UnexpectedGeometry": "Expected geometry {{expected}} but got {{actual}}"
},
"infra_cache": {
"ObjectNotFound": "{{obj_type}} '{{obj_id}}', could not be found everywhere in the infrastructure cache"
},
"infra": {
"NotFound": "",
"edition": {
"InfraIsLocked": "Infrastructure is locked",
"SplitTrackSectionBadOffset": "Distance to split track section '{{tracksection_id}}' in infrastructure '{{infra_id}}' is invalid. It must be between 0 and {{tracksection_length}} meters."
},
"errors": {
"WrongErrorTypeProvided": "Wrong Error type provided"
},
"lines": {
"LineNotFound": "No line with code {{line_code}} found"
},
"objects": {
"DuplicateIdsProvided": "Duplicate object ids provided",
"ObjectIdNotFound": "Object '{{object_id}}' not found"
},
"pathfinding": {
"EndingTrackLocationNotFound": "Ending track location was not found",
"InvalidNumberOfPaths": "The pathfinding cannot return 5 paths (expected: [1-5])",
"StartingTrackLocationNotFound": "Starting track location was not found"
},
"railjson": {
"WrongRailjsonVersionProvided": "Wrong railjson version provided"
}
},
"infra_state": {
"FetchError": "Error while fetching the infrastructure loading status"
},
"layers": {
"LayerNotFound": "Layer {{layer_name}} not found.",
"ViewNotFound": "View {{view_name}} not found."
},
"operation": {
"EmptyId": "Empty string id is forbidden",
"InvalidPatch": "A Json Patch error occurred",
"ModifyId": "Update operation try to modify object id, which is forbidden",
"ObjectNotFound": "Object '{{obj_id}}', could not be found in the infrastructure '{{infra_id}}'"
},
"pagination": {
"InvalidPage": "Invalid page number ({{page}})",
"InvalidPageSize": "Invalid page size ({{provided_page_size}}), expected an integer 0 < page_size <= {{max_page_size}}"
},
"pathfinding": {
"ElectricalProfilesOverlap": "Electrical Profile overlaps with others",
"ElectrificationOverlap": "Electrification '{{electrification_id}}' overlaps with other electrifications",
"InfraNotFound": "Infrastructure '{{infra_id}}' does not exist",
"NotFound": "Pathfinding {{pathfinding_id}} does not exist",
"OperationalPointsNotFound": "Operational points do not exist: {{operational_points}}",
"RollingStockNotFound": "Rolling stock with id '{{rolling_stock_id}}' does not exist",
"TrackSectionsNotFound": "Track sections do not exist: {{track_sections}}"
},
"postgres": {
"Host": "Invalid host '{{hostname}}'",
"Password": "Invalid password",
"Port": "Invalid port '{{port}}'",
"Username": "Invalid username"
},
"project": {
"ImageError": "The provided image is not valid",
"ImageNotFound": "Image document '{{document_key}}' not found",
"NotFound": "Project '{{project_id}}', could not be found"
},
"railjson": {
"UnsupportedVersion": "Unsupported railjson version"
},
"redis": {
"Url": "Invalid url '{{url}}'"
},
"rollingstocks": {
"BasePowerClassEmpty": "Base power class is an empty string",
"CannotCreateCompoundImage": "Impossible to copy the separated image on the compound image",
"CannotReadImage": "Impossible to read the separated image",
"NameAlreadyUsed": "Name '{{name}}' already used",
"KeyNotFound": "Rolling stock '{{rolling_stock_key.key}}' could not be found",
"LiveryMultipartError": "Invalid multipart request while uploading livery",
"IsLocked": "Rolling stock '{{rolling_stock_id}}' is locked",
"IsUsed": "Rolling stock '{{rolling_stock_id}}' is used"
},
"scenario": {
"NotFound": "Scenario not found"
},
"search": {
"SearchEngineError": "Internal search engine error",
"ArgMissing": "Expected argument of type {{expected}} at position {{arg_pos}} is missing",
"ArgTypeMismatch": "Expected argument of type {{expected}} at position {{arg_pos}}, but got {{actual}}",
"EmptyArray": "Empty arrays are invalid syntax",
"IntegerConversion": "Could not convert to i64",
"InvalidColumnName": "Invalid column name",
"InvalidFunctionIdentifier": "Function identifer must be a string",
"InvalidSyntax": "Invalid syntax",
"ObjectType": "Object type is invalid",
"QueryAst": "Query Boolean type is expected",
"RuntimeTypeCheckFail": "Expected type {{expected}}, got value '{{value}}' of type {{actual}} instead",
"UndefinedFunction": "Undefined function",
"UndefinedOverload": "No suitable overload",
"UnexpectedArg": "Unexpected argument of type found",
"UnexpectedColumn": "Unexpected column",
"UnexpectedErsatz": "Expected value of type {{expected}}, but got ersatz '{{value}}'",
"VariadicArgTypeMismatch": "Expected variadic argument of type {{expected}}, but got {{actual}}"
},
"single_simulation": {
"ElectricalProfileSetNotFound": "Electrical Profile Set '{{electrical_profile_set_id}}' could not be found",
"PathNotFound": "Path '{{path_id}}' could not be found",
"RollingStockNotFound": "Rolling Stock '{{rolling_stock_id}}' could not be found",
"WrongCoreResponseFormat": "Received wrong response format from core"
},
"sprites": {
"FileNotFound": "File not found",
"UnknownSignalingSystem": "Unknown signaling system"
},
"stdcm": {
"InfraNotFound": "Infrastructure '{{infra_id}}' does not exist"
},
"stdcm_v2": {
"InfraNotFound": "Infrastructure '{{infra_id}}' does not exist",
"InvalidPathItems": "Invalid waypoint(s) {{items}}",
"RollingStockNotFound": "Rolling stock '{{rolling_stock_id}}' does not exist",
"TimetableNotFound": "Timetable '{{timetable_id}}' does not exist"
},
"study": {
"NotFound": "Study '{{study_id}}' could not be found",
"StartDateAfterEndDate": "The study start date must be before the end date"
},
"timetable": {
"InfraNotLoaded": "Infrastructure '{{infra_id}}' is not loaded",
"InfraNotFound": "Infrastructure '{{infra_id}}' does not exist",
"NotFound": "Timetable '{{timetable_id}}' could not be found"
},
"train_schedule": {
"BatchShouldHaveSameTimetable": "Batch should have the same timetable",
"BatchTrainScheduleNotFound": "Some Train Schedules could not be found",
"NoSimulation": "No simulation given",
"NoTrainSchedules": "No train schedules given",
"NotFound": "Train Schedule '{{train_schedule_id}}' could not be found",
"PathNotFound": "Path '{{path_id}}' could not be found",
"RollingStockNotFound": "Rolling Stock '{{rolling_stock_id}}' could not be found",
"TimetableNotFound": "Timetable '{{timetable_id}}' could not be found",
"UnsimulatedTrainSchedule": "Train Schedule '{{train_schedule_id}}' is not simulated"
},
"train_schedule_v2": {
"BatchTrainScheduleNotFound": "'{{number}}' train schedule(s) could not be found",
"NotFound": "Train Schedule '{{train_schedule_id}}' could not be found",
"InfraNotFound": "Infrastructure '{{infra_id}}' could not be found",
"InvalidQueryParams": "Invalid query params '{{message}}'"
},
"url": {
"InvalidUrl": "Invalid url '{{url}}'"
},
"work_schedule": {
"NameAlreadyUsed": "A group of work schedules with '{{name}}' already exists"
},
"temporary_speed_limit": {
"NameAlreadyUsed": "A group of temporary speed limits with '{{name}}' already exists"
},
"app_health": {
"Timeout": "Service has not responded in time",
"Database": "Database is in error",
"Redis": "Redis is in error"
}
}
}