first commit

This commit is contained in:
Roman Pyrih
2023-07-24 08:30:51 +02:00
commit c2e100a763
7128 changed files with 1622619 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?php if ( ! defined( 'FW' ) ) {
die( 'Forbidden' );
}
class FW_Form_Invalid_Submission_Exception extends Exception {
private $errors = array();
public function __construct( array $errors ) {
parent::__construct();
$this->set_errors( $errors );
}
public function get_errors() {
return $this->errors;
}
protected function set_errors( array $errors ) {
$this->errors = $errors;
}
}

View File

@@ -0,0 +1,7 @@
<?php if ( ! defined( 'FW' ) ) {
die( 'Forbidden' );
}
class FW_Form_Not_Found_Exception extends Exception {
}