We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80cba82 commit 72febaeCopy full SHA for 72febae
system/core/Format.php
@@ -85,7 +85,7 @@ public function __construct($data = null, $from_type = null)
85
if (method_exists($this, '_from_' . $from_type)) {
86
$data = $this->{'_from_' . $from_type}($data);
87
} else {
88
- throw new Exception('Format class does not support conversion from "' . $from_type . '".');
+ throw new \RuntimeException('Format class does not support conversion from "' . $from_type . '".');
89
}
90
91
0 commit comments