|
1 | 1 | { |
2 | 2 | "E_CANNOT_LOOKUP_ROUTE": { |
3 | | - "message": "Cannot find route for \"{identifier}\" identifier", |
| 3 | + "message": "Cannot find route for \"{{ identifier }}\" identifier", |
4 | 4 | "code": "E_CANNOT_FIND_ROUTE", |
5 | 5 | "status": 500, |
6 | 6 | "help": [ |
|
10 | 10 | ] |
11 | 11 | }, |
12 | 12 | "E_CANNOT_SERIALIZE_RESPONSE_BODY": { |
13 | | - "message": "Unable to send HTTP response. Cannot serialize \"{dataType}\" to a string", |
| 13 | + "message": "Unable to send HTTP response. Cannot serialize \"{{ dataType }}\" to a string", |
14 | 14 | "code": "E_CANNOT_SERIALIZE_RESPONSE_BODY", |
15 | 15 | "status": 500, |
16 | 16 | "help": [ |
|
21 | 21 | ] |
22 | 22 | }, |
23 | 23 | "E_HTTP_EXCEPTION": { |
24 | | - "message": "Request aborted with status code {status}", |
| 24 | + "message": "Request aborted with status code {{ status }}", |
25 | 25 | "code": "E_HTTP_EXCEPTION", |
26 | 26 | "help": ["A generic exception usually raised using \"response.abort\""] |
27 | 27 | }, |
|
35 | 35 | ] |
36 | 36 | }, |
37 | 37 | "E_DUPLICATE_ROUTE_NAME": { |
38 | | - "message": "Duplicate route name \"{name}\"", |
| 38 | + "message": "Duplicate route name \"{{ name }}\"", |
39 | 39 | "code": "E_DUPLICATE_ROUTE_NAME", |
40 | 40 | "status": 500, |
41 | 41 | "help": [ |
|
44 | 44 | ] |
45 | 45 | }, |
46 | 46 | "E_DUPLICATE_ROUTE": { |
47 | | - "message": "Duplicate route \"{method}:{pattern}\"", |
| 47 | + "message": "Duplicate route \"{{ method }}:{{ pattern }}\"", |
48 | 48 | "code": "E_DUPLICATE_ROUTE", |
49 | 49 | "status": 500, |
50 | 50 | "help": [ |
|
53 | 53 | ] |
54 | 54 | }, |
55 | 55 | "E_DUPLICATE_ROUTE_PARAM": { |
56 | | - "message": "The \"{param}\" param is mentioned twice in the route pattern \"{pattern}\"", |
| 56 | + "message": "The \"{{ param }}\" param is mentioned twice in the route pattern \"{{ pattern }}\"", |
57 | 57 | "code": "E_DUPLICATE_ROUTE_PARAM", |
58 | 58 | "status": 500 |
59 | 59 | }, |
60 | 60 | "E_ROUTE_NOT_FOUND": { |
61 | | - "message": "Cannot {method}:{url}", |
| 61 | + "message": "Cannot {{ method }}:{{ url }}", |
62 | 62 | "code": "E_ROUTE_NOT_FOUND", |
63 | 63 | "status": 404 |
64 | 64 | }, |
65 | 65 | "E_MISSING_NAMED_MIDDLEWARE": { |
66 | | - "message": "Cannot find a middleware named \"{name}\"", |
| 66 | + "message": "Cannot find a middleware named \"{{ name }}\"", |
67 | 67 | "code": "E_MISSING_NAMED_MIDDLEWARE", |
68 | 68 | "status": 500, |
69 | 69 | "help": [ |
|
72 | 72 | ] |
73 | 73 | }, |
74 | 74 | "E_CANNOT_MAKE_ROUTE_URL": { |
75 | | - "message": "\"{param}\" param is required to make URL for \"{pattern}\" route", |
| 75 | + "message": "\"{{ param }}\" param is required to make URL for \"{{ pattern }}\" route", |
76 | 76 | "code": "E_CANNOT_MAKE_ROUTE_URL", |
77 | 77 | "status": 500, |
78 | 78 | "help": [ |
|
0 commit comments