REDROOM
PHP 8.0.30
Path:
Logout
Edit File
Size: 840 B
Close
/home/certprox/test.certproxywizard.com/wp-content/plugins/elementor/core/utils/api/error-builder.php
Text
Base64
<?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, ], ); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
error-builder.php
840 B
lrw-r--r--
2026-06-21 20:31:55
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
parse-errors.php
1023 B
lrw-r--r--
2026-06-21 20:31:55
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
parse-result.php
612 B
lrw-r--r--
2026-06-21 20:31:55
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
response-builder.php
855 B
lrw-r--r--
2026-06-21 20:31:55
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).