pub enum FhirPathError {
ParseError(String),
EvaluationError(String),
IoError(Error),
JsonError(Error),
InvalidInput(String),
NotFound(String),
NotImplemented(String),
ConfigError(String),
HttpError(u16, String),
NetworkError(String),
TerminologyError(String),
}Expand description
Error types for FHIRPath operations
Variants§
ParseError(String)
Parse error with message
EvaluationError(String)
Evaluation error with message
IoError(Error)
IO error (file operations, etc.)
JsonError(Error)
JSON serialization/deserialization error
InvalidInput(String)
Invalid input parameters
NotFound(String)
Resource not found
NotImplemented(String)
Feature not implemented
ConfigError(String)
Server configuration error
HttpError(u16, String)
HTTP-specific error with status code
NetworkError(String)
Network error (for terminology server operations)
TerminologyError(String)
Terminology server error
Trait Implementations§
Source§impl Debug for FhirPathError
impl Debug for FhirPathError
Source§impl Display for FhirPathError
impl Display for FhirPathError
Source§impl Error for FhirPathError
impl Error for FhirPathError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for FhirPathError
impl From<Error> for FhirPathError
Source§impl From<Error> for FhirPathError
impl From<Error> for FhirPathError
Source§impl From<FhirPathError> for Response
impl From<FhirPathError> for Response
Source§fn from(err: FhirPathError) -> Self
fn from(err: FhirPathError) -> Self
Converts to this type from the input type.
Source§impl From<String> for FhirPathError
impl From<String> for FhirPathError
Source§impl IntoResponse for FhirPathError
impl IntoResponse for FhirPathError
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl !RefUnwindSafe for FhirPathError
impl !UnwindSafe for FhirPathError
impl Freeze for FhirPathError
impl Send for FhirPathError
impl Sync for FhirPathError
impl Unpin for FhirPathError
impl UnsafeUnpin for FhirPathError
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
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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.