TextMagic::API::Error.new accepts code and message arguments in addition to a single response hash argument
TextMagic::API::Error.new accepts code and message arguments in addition to a single response hash argument

bobes/textmagic