@@ -77,7 +77,7 @@ |
||
77 | 77 | |
78 | 78 | self::validate(); |
79 | 79 | self::checkRequireds(); |
80 | - }catch(\Exception $er){ |
|
80 | + } catch(\Exception $er){ |
|
81 | 81 | self::$errors[] = $er->getMessage(); |
82 | 82 | } |
83 | 83 |
@@ -23,7 +23,7 @@ |
||
23 | 23 | /* Transforms validation to Json format to be validated on the client if desired */ |
24 | 24 | $json = Validator::namespace('HnrAzevedo\\Validator\\Example\\Rules')->toJson($data); |
25 | 25 | |
26 | -}catch(Exception $er){ |
|
26 | +} catch(Exception $er){ |
|
27 | 27 | |
28 | 28 | die("Code Error: {$er->getCode()}<br> Line: {$er->getLine()}<br> File: {$er->getFile()}<br> Message: {$er->getMessage()}"); |
29 | 29 |