The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Name

SPVM::ExchangeAPI::Error - Error Code

Description

The SPVM::ExchangeAPI::Error class has methods to get and set an error id.

Usage

my $error = SPVM::ExchangeAPI::Error->new;
$error->id(2);
my $die_error_id = $error->id;

Fields

id

my $id = $error->id;
$error->id($id);

Gets and sets an error id.

Examples:

$error->id(2);
my $id = $error->id;

Class Methods

new

my $error = SPVM::ExchangeAPI::Error->new(%options);

Creates a new SPVM::ExchangeAPI::Error object.

Options:

  • id

    An error id.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License