PATH:
home
/
lab2454c
/
caimegroup.com
/
wp-content
/
plugins
/
mailpoet
/
lib
/
API
/
REST
<?php declare(strict_types = 1); namespace MailPoet\API\REST; if (!defined('ABSPATH')) exit; class ErrorResponse extends Response { public function __construct( int $status, string $message, string $code, array $errors = [] ) { parent::__construct(null, $status); $this->set_data([ 'code' => $code, 'message' => $message, 'data' => [ 'status' => $status, 'errors' => $errors, ], ]); } }
[-] index.php
[edit]
[-] ErrorResponse.php
[edit]
[+]
..
[-] Request.php
[edit]
[-] EndpointContainer.php
[edit]
[-] Exception.php
[edit]
[-] Endpoint.php
[edit]
[-] API.php
[edit]
[-] Response.php
[edit]