Enum clarity_repl::clarity::ast::errors::ParseErrors
source · [−]pub enum ParseErrors {
Show 37 variants
CostOverflow,
CostBalanceExceeded(ExecutionCost, ExecutionCost),
MemoryBalanceExceeded(u64, u64),
TooManyExpressions,
ExpressionStackDepthTooDeep,
FailedCapturingInput,
SeparatorExpected(String),
SeparatorExpectedAfterColon(String),
ProgramTooLarge,
IllegalVariableName(String),
IllegalContractName(String),
UnknownQuotedValue(String),
FailedParsingIntValue(String),
FailedParsingBuffer(String),
FailedParsingHexValue(String, String),
FailedParsingPrincipal(String),
FailedParsingField(String),
FailedParsingRemainder(String),
ClosingParenthesisUnexpected,
ClosingParenthesisExpected,
ClosingTupleLiteralUnexpected,
ClosingTupleLiteralExpected,
CircularReference(Vec<String>),
TupleColonExpected(usize),
TupleCommaExpected(usize),
TupleItemExpected(usize),
NameAlreadyUsed(String),
TraitReferenceNotAllowed,
ImportTraitBadSignature,
DefineTraitBadSignature,
ImplTraitBadSignature,
TraitReferenceUnknown(String),
CommaSeparatorUnexpected,
ColonSeparatorUnexpected,
InvalidCharactersDetected,
InvalidEscaping,
CostComputationFailed(String),
}
Variants
CostOverflow
CostBalanceExceeded(ExecutionCost, ExecutionCost)
MemoryBalanceExceeded(u64, u64)
TooManyExpressions
ExpressionStackDepthTooDeep
FailedCapturingInput
SeparatorExpected(String)
SeparatorExpectedAfterColon(String)
ProgramTooLarge
IllegalVariableName(String)
IllegalContractName(String)
UnknownQuotedValue(String)
FailedParsingIntValue(String)
FailedParsingBuffer(String)
FailedParsingHexValue(String, String)
FailedParsingPrincipal(String)
FailedParsingField(String)
FailedParsingRemainder(String)
ClosingParenthesisUnexpected
ClosingParenthesisExpected
ClosingTupleLiteralUnexpected
ClosingTupleLiteralExpected
CircularReference(Vec<String>)
TupleColonExpected(usize)
TupleCommaExpected(usize)
TupleItemExpected(usize)
NameAlreadyUsed(String)
TraitReferenceNotAllowed
ImportTraitBadSignature
DefineTraitBadSignature
ImplTraitBadSignature
TraitReferenceUnknown(String)
CommaSeparatorUnexpected
ColonSeparatorUnexpected
InvalidCharactersDetected
InvalidEscaping
CostComputationFailed(String)
Trait Implementations
sourceimpl Debug for ParseErrors
impl Debug for ParseErrors
sourceimpl DiagnosableError for ParseErrors
impl DiagnosableError for ParseErrors
sourceimpl From<ParseErrors> for ParseError
impl From<ParseErrors> for ParseError
sourcefn from(err: ParseErrors) -> Self
fn from(err: ParseErrors) -> Self
Performs the conversion.
sourceimpl PartialEq<ParseErrors> for ParseErrors
impl PartialEq<ParseErrors> for ParseErrors
sourcefn eq(&self, other: &ParseErrors) -> bool
fn eq(&self, other: &ParseErrors) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ParseErrors) -> bool
fn ne(&self, other: &ParseErrors) -> bool
This method tests for !=
.
impl StructuralPartialEq for ParseErrors
Auto Trait Implementations
impl RefUnwindSafe for ParseErrors
impl Send for ParseErrors
impl Sync for ParseErrors
impl Unpin for ParseErrors
impl UnwindSafe for ParseErrors
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more