change exception name

master
Guillermo Dev 7 years ago
parent e75a388eb0
commit 8b95056df4

@ -1,5 +1,4 @@
<?php
namespace BSR\Lib;
class Configuration {
@ -61,7 +60,7 @@ class Configuration {
$this->values['session']['save_path'] = session_save_path();
if(!file_exists($this->custom_config)) {
throw new \BSR\Lib\Exception\UsageException('No configuration.local.php file was found. Create it with the proper config.');
throw new \RuntimeException('No configuration.local.php file was found. Create it with the proper config.');
}
$configuration = include_once $this->custom_config;

@ -16,4 +16,4 @@ class UsageException extends WebException {
const TOO_FEW_ARGS = 103;
const TOO_MANY_ARGS = 104;
}
}

Loading…
Cancel
Save