mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 08:23:47 +01:00
c5286ee157
This allows the backend to pass a errorHandler function to the doConfig function. The webserver will pass the current request as a parameter to the function. The function can then examine all paramters and build the AuthError struct which contains name, code, description of the error. A link to the docs can be added to the HelpURL field. oauthutil then takes care of formatting for the HTML response page. The error details are also returned as an error in the server.err channel and will be logged to the commandline. |
||
---|---|---|
.. | ||
atexit | ||
dircache | ||
oauthutil | ||
pacer | ||
readers | ||
rest |