class X::Syntax::NegatedPair does X::Syntax { }

Thrown if a colonpair illegally has a value, for example :!a(1). This is an error because the ! negation implies that the value is False.

A typical error message from this class is Argument not allowed on negated pair with key 'a'.


method key§

Returns the key of the pair that caused the error.


Type relations for X::Syntax::NegatedPair
raku-type-graph X::Syntax::NegatedPair X::Syntax::NegatedPair Exception Exception X::Syntax::NegatedPair->Exception X::Syntax::NegatedPair->Exception X::Syntax X::Syntax X::Syntax::NegatedPair->X::Syntax Mu Mu Any Any Any->Mu Exception->Any X::Comp X::Comp X::Comp->Exception X::Syntax->Exception X::Syntax->X::Comp

Expand chart above