PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in /home/telusvwg/public_html/da754d/index.php on line 8
$#$#$#

Dir : /home/telusvwg/alwatnitraders.com/wp-content/plugins/elementor/core/utils/api/
Server: Linux premium279.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
IP: 66.29.132.192
Choose File :

Url:
Dir : //home/telusvwg/alwatnitraders.com/wp-content/plugins/elementor/core/utils/api/error-builder.php

<?php

namespace Elementor\Core\Utils\Api;

class Error_Builder {
	private string $message;
	private int $status;
	private string $code;
	private array $meta;

	private function __construct( $code, $status = 500 ) {
		$this->code = $code;
		$this->status = $status;
		$this->message = '';
		$this->meta = [];
	}

	public static function make( $code, $status = 500 ) {
		return new self( $code, $status );
	}

	public function set_status( int $status ) {
		$this->status = $status;

		return $this;
	}

	public function set_message( string $message ) {
		$this->message = $message;

		return $this;
	}

	public function set_meta( array $meta ) {
		$this->meta = $meta;

		return $this;
	}

	public function build() {
		return new \WP_Error( $this->code, $this->message, [
			'status' => $this->status,
			'meta' => $this->meta,
		], );
	}
}