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