From dbfd6207290d1eee53fddec4c7c3b4aac0b2d47a Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 8 Apr 2015 18:48:36 +0100 Subject: Bug 1051056: The REST API needs to be versioned so that new changes can be made that do not break compatibility r=dylan,a=glob --- template/en/default/global/user-error.html.tmpl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'template/en/default/global') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 299e2a194..c74ba1efc 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1150,6 +1150,13 @@ [% ELSIF error == "rest_invalid_resource" %] A REST API resource was not found for '[% method FILTER html +%] [%+ path FILTER html %]'. + [% ELSIF error == "unknown_api_version" %] + A REST API version was not found for '[% api_version FILTER html +%]' + [%- IF api_namespace %] in namespace '[% api_namespace FILTER html %]'[% END %]. + + [% ELSIF error == "unknown_api_namespace" %] + A REST API namespace was not found for '[% api_namespace FILTER html +%]'. + [% ELSIF error == "get_products_invalid_type" %] The product type '[% type FILTER html %]' is invalid. Valid choices are 'accessible', 'selectable', and 'enterable'. -- cgit v1.2.3-24-g4f1b