-
Notifications
You must be signed in to change notification settings - Fork 376
/
IsochronesErrorCodes.java
42 lines (36 loc) 路 1.75 KB
/
IsochronesErrorCodes.java
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
/* This file is part of Openrouteservice.
*
* Openrouteservice is free software; you can redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1
* of the License, or (at your option) any later version.
* This library 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 Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public License along with this library;
* if not, see <https://www.gnu.org/licenses/>.
*/
package org.heigit.ors.isochrones;
/**
* This Class handles the error Codes as described in the error_codes.md
*
* @author OpenRouteServiceTeam
* @author Julian Psotta, julian@openrouteservice.org
*/
public class IsochronesErrorCodes {
//Keep in sync with documentation: error-codes.md
public static final int BASE = 3000;
public static final int INVALID_JSON_FORMAT = 3000;
public static final int MISSING_PARAMETER = 3001;
public static final int INVALID_PARAMETER_FORMAT = 3002;
public static final int INVALID_PARAMETER_VALUE = 3003;
public static final int PARAMETER_VALUE_EXCEEDS_MAXIMUM = 3004;
public static final int FEATURE_NOT_SUPPORTED = 3005;
public static final int EXPORT_HANDLER_ERROR = 3006;
public static final int UNSUPPORTED_EXPORT_FORMAT = 3007;
public static final int EMPTY_ELEMENT = 3008;
public static final int UNKNOWN_PARAMETER = 3011;
public static final int PARAMETER_VALUE_EXCEEDS_MINIMUM = 3012;
public static final int UNKNOWN = 3099;
private IsochronesErrorCodes() {
}
}