MessageException.php in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2
File
src/Flmngr/FileUploaderServer/lib/MessageException.php
View source
<?php
namespace Drupal\n1ed\Flmngr\FileUploaderServer\lib;
use Exception;
class MessageException extends Exception {
protected $message;
public function __construct($message) {
parent::__construct();
$this->message = (array) $message;
}
public function getFailMessage() {
return $this->message;
}
}
Classes
Name |
Description |
MessageException |
Exception with a message.
Thrown when we need to return JSON about the error. |