Struct parcel_sourcemap::sourcemap_error::SourceMapError [−][src]
pub struct SourceMapError {
pub error_type: SourceMapErrorType,
pub reason: Option<String>,
}Fields
error_type: SourceMapErrorTypereason: Option<String>Implementations
impl SourceMapError[src]
impl SourceMapError[src]pub fn new(error_type: SourceMapErrorType) -> Self[src]
pub fn new_with_reason(error_type: SourceMapErrorType, reason: &str) -> Self[src]
Trait Implementations
impl From<Box<ErrorKind, Global>> for SourceMapError[src]
impl From<Box<ErrorKind, Global>> for SourceMapError[src]fn from(_err: Box<ErrorKind>) -> SourceMapError[src]
fn from(_err: Box<ErrorKind>) -> SourceMapError[src]Performs the conversion.
impl From<Error> for SourceMapError[src]
impl From<Error> for SourceMapError[src]fn from(e: Error) -> SourceMapError[src]
fn from(e: Error) -> SourceMapError[src]Performs the conversion.
impl From<Error> for SourceMapError[src]
impl From<Error> for SourceMapError[src]fn from(_err: Error) -> SourceMapError[src]
fn from(_err: Error) -> SourceMapError[src]Performs the conversion.
impl From<FromUtf8Error> for SourceMapError[src]
impl From<FromUtf8Error> for SourceMapError[src]fn from(_err: FromUtf8Error) -> SourceMapError[src]
fn from(_err: FromUtf8Error) -> SourceMapError[src]Performs the conversion.