<?php
namespace Claromentis\Mailgun\Exception;

$GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"] ?: array()) + array();
class WebhookBaseException extends \Exception
{
    protected $data = [];
    protected $error_code;
    
    
    
    
    
    
    public function SetData($data)
    {
        $this->data = $data;
        return $this;
    }
    
    
    
    
    public function GetData()
    {
        return (array) $this->data;
    }
    public function GetErrorCode()
    {
        return $this->error_code;
    }
}