summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/chttpd.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chttpd.erl b/src/chttpd.erl
index 3e46b263..3ef33b40 100644
--- a/src/chttpd.erl
+++ b/src/chttpd.erl
@@ -540,6 +540,8 @@ error_info({error, illegal_database_name}) ->
{400, <<"illegal_database_name">>, <<"Only lowercase characters (a-z), "
"digits (0-9), and any of the characters _, $, (, ), +, -, and / "
"are allowed">>};
+error_info({missing_stub, Reason}) ->
+ {412, <<"missing_stub">>, Reason};
error_info(not_implemented) ->
{501, <<"not_implemented">>, <<"this feature is not yet implemented">>};
error_info({Error, Reason}) ->