# SigningError

> A signer could not sign: bad key material or an address it does not manage.

```python
from x402_algorand import SigningError
```

```python
class SigningError(X402AlgorandError, ValueError)
```

A signer could not sign: bad key material or an address it does not manage.

## Examples

```python
from x402_algorand import PayerAvmSigner, SigningError

try:
    PayerAvmSigner.from_mnemonic("not a valid mnemonic")
except SigningError as e:  # also a ValueError; the message never contains key material
    print(e)  # invalid 25-word Algorand mnemonic
```

Source: [x402_algorand/errors.py](https://github.com/x402-avm/x402-algorand/blob/main/x402_algorand/errors.py#L43)

Source: https://x402-avm.github.io/reference/python/x402-algorand/signing-error
