Skip to main content

internal

Function internal 

Source
pub fn internal(e: impl Display) -> ErrorData
Expand description

Build an internal_error MCP error from anything Display. Use for failures that aren’t the caller’s fault (an upstream API, a socket, a parse of data you fetched).