<?php
namespace Claromentis\Mailgun\Exception;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"] = (@$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"] ?: 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;
    }
}