# Functions
This returns the HTML for generic errors.
This returns the HTML for a page listing disambiguation optionsi.e.
This returns the HTML for a 404 Not Found error.
No description provided by the author
Respond is used to show an HTML page to a client.If there is an `Accept` header of `application/json`, JSON will be returned insteadThe function just takes a string message which will be displayed in the error page.The code is used to evaluate which template will be displayed(and return the correct HTTP status code).
ShowMultipeChoices is used when a user requests a resource in a manifest which resultsin ambiguous results.
ValidateCaseErrors is a method that process the request object through certain validatorsthat assert if certain conditions are met for further information to log as an error.
# Structs
a custom error case struct that would be used to store validators andadditional error info to display with client responses.
Request wraps http.Request and also includes the parsed bzz URI.
parameters needed for formatting the correct HTML page.
No description provided by the author
browser API for registering bzz url scheme handlers: https://developer.mozilla.org/en/docs/Web-based_protocol_handlers electron (chromium) api for registering bzz url scheme handlers: https://github.com/atom/electron/blob/master/docs/api/protocol.md.