NAME
Net::Dynect::REST::Response::Msg - A message about the data that was returned.
SYNOPSIS
use Net::Dynect::REST::Response::Msg;
$msg = Net::Dynect::REST::Response::Msg->new();
$source = $msg->source;
METHODS
Creating
- new
-
This constructor takes the fields as returned by the response from Dynect to populate the attributes. As this matches the Dynect case and spelling, these are a hash ref with keys:
SOURCE
LVL
INFO
ERR_CD
Attributes
- source
-
A debugging field. If reporting an error to your Dynect Concierge, be sure to include this.
- level
-
The severity of the message. One of: 'FATAL', 'ERROR', 'WARN', or 'INFO'
- info
-
The actual message itself. Human readable (English) text.
- err_cd
-
An error code (if appropriate) regarding the message. See the Dynect manual for the set of valid codes.
SEE ALSO
Net::Dynect::REST, Net::Dynect::REST::Response, Net::Dynect::REST::Response::Data.
AUTHOR
James bromberger, james@rcpt.to
COPYRIGHT AND LICENSE
Copyright (C) 2010 by James Bromberger
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.