---
name: "JSON::RPC::Common::Procedure::Return::Version_1_1::Error"
section: "3pm"
platform: "linux"
package: "libjson-rpc-common-perl"
version: "0.11-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/JSON::RPC::Common::Procedure::Return::Version_1_1::Error"
---

# JSON::RPC::Common::Procedure::Return::Version\_1\_1::Error(3pm)

JSON-RPC 1.1 error class.

## NAME

JSON::RPC::Common::Procedure::Return::Version\_1\_1::Error - JSON-RPC 1.1 error class.

## VERSION

version 0.11

## SYNOPSIS

```
        my $return_with_error = $call->return_error("foo");
```

## DESCRIPTION

This class implements 1.1 error objects.

`"code"` and `"message"` are mandatory.

The `"data"` field is named `"error"` in the deflated version and `"name"` is set to `"JSONRPCError"`. How exciting.

See JSON::RPC::Common::Procedure::Return::Error.

## AUTHOR

Yuval Kogman \<nothingmuch@woobling.org\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Yuval Kogman and others.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
