Enum miniscript::policy::concrete::PolicyError [−][src]
pub enum PolicyError { NonBinaryArgAnd, NonBinaryArgOr, IncorrectThresh, ZeroTime, TimeTooFar, InsufficientArgsforAnd, InsufficientArgsforOr, EntailmentMaxTerminals, HeightTimeLockCombination, DuplicatePubKeys, }
Expand description
Detailed Error type for Policies
Variants
And
fragments only support two args
Or
fragments only support two args
Thresh
fragment can only have 1<=k<=n
older
or after
fragment can only have n = 0
after
fragment can only have n < 2^31
Semantic Policy Error: And
Or
fragments must take args: k > 1
Semantic Policy Error: And
Or
fragments must take args: k > 1
Entailment max terminals exceeded
lifting error: Cannot lift policies that have a combination of height and timelocks.
Duplicate Public Keys
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PolicyError
impl Send for PolicyError
impl Sync for PolicyError
impl Unpin for PolicyError
impl UnwindSafe for PolicyError
Blanket Implementations
Mutably borrows from an owned value. Read more