MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / forbidden

Method forbidden

atomic-remote/src/error.rs:305–310  ·  view source on GitHub ↗

Create a forbidden (403) error.

(message: impl Into<String>)

Source from the content-addressed store, hash-verified

303
304 /// Create a forbidden (403) error.
305 pub fn forbidden(message: impl Into<String>) -> Self {
306 Self::HttpError {
307 status: 403,
308 message: message.into(),
309 }
310 }
311
312 /// Create a not-found (404) error.
313 pub fn not_found(message: impl Into<String>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected