# jetformbuilder/3.6.5.3/includes/exceptions/request-exception.php

JetFormBuilder — Dynamic Blocks Form Builder, version 3.6.5.3. 28 lines.

- Page: https://pluginprobe.com/plugins/jetformbuilder/3.6.5.3/code/includes/exceptions/request-exception.php
- Raw: https://pluginprobe.com/plugins/jetformbuilder/3.6.5.3/raw/includes/exceptions/request-exception.php
- Modified: 2023-11-20T11:46:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/jetformbuilder/3.6.5.3/code/includes/exceptions/request-exception.php#L10-L20`.

```php
<?php


namespace Jet_Form_Builder\Exceptions;

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

class Request_Exception extends Handler_Exception {

	private $errors;

	public function __construct( $message = '', ...$errors ) {
		$this->errors = isset( $errors[0] ) ? $errors[0] : false;

		parent::__construct( $message, ...$errors );
	}

	public function get_fields_errors() {
		return $this->errors;
	}



}

```
