pub enum AuthoringApiError {
TypeError(String),
Unavailable(WireError),
Wire(WireError),
}Expand description
Failure classes for the server-side authoring loop.
Variants§
TypeError(String)
The submitted source did not compile or type-check. The carried string
is the verbatim gleam compiler output, returned inline so the author
corrects against the real type-checker (rendered 400 by the HTTP
facade).
The server is draining or the engine is shutting down (503).
Wire(WireError)
Mapped wire failure rendered through the standard code tables: authorization denials, spawn/packaging/load faults, and misconfiguration.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthoringApiError
impl RefUnwindSafe for AuthoringApiError
impl Send for AuthoringApiError
impl Sync for AuthoringApiError
impl Unpin for AuthoringApiError
impl UnsafeUnpin for AuthoringApiError
impl UnwindSafe for AuthoringApiError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request