Missing documentation for failMsg option
jancurn opened this issue · comments
Jan Čurn commented
Subject says it all.
Jan Čurn commented
Also I'd suggest using more descriptive name, e.g. errorMessage
Jan Čurn commented
And also add httpStatus
that will be returned to user. By default the proxy returns 407 but e.g. if it's invalid hostname, it should return 502 Bad Gateway.
Jan Čurn commented
failMsg
is now described in README, custom error can be done using RequestError