MCPcopy Create free account
hub / github.com/OctaneWeb/Octane / Error

Class Error

src/error.rs:20–22  ·  view source on GitHub ↗

The Error structure holds the kind of error code and the location of the custom 404 file, if given by the user and manages sending errors on internal http errors and other instances will send with blank content if no 404 file is found or will send the 404 file directly if given. You will not have to use this manually, to send errors on your own, you can do so by just specifying the error code and

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Implementers 2

file_handler.rssrc/file_handler.rs
error.rssrc/error.rs

Calls

no outgoing calls

Tested by

no test coverage detected