2024-05-20 15:37:46 +03:00

18 lines
350 B
PHP

<?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 ) );
}
}