public function __construct($pathToFile) { $msg = "'defaults' array in storyplayer config file '{$pathToFile}' can only contain strings"; parent::__construct(400, $msg, $msg); }
public function __construct($pathToFile) { $msg = "Storyplayer config file '{$pathToFile}' must be a JSON object"; parent::__construct(400, $msg, $msg); }