update APIException to include Pocket error data;