first
This commit is contained in:
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace WebpConverter\Exception;
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
abstract class ExceptionAbstract extends \Exception implements ExceptionInterface {
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
final public function __construct( $value = [] ) {
|
||||
$this->code = $this->get_error_status();
|
||||
parent::__construct( $this->get_error_message( (array) $value ) );
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user