Skip to content

Commit 7d1ac8e

Browse files
authored
Added new class to support better exception handling.
1 parent b072af9 commit 7d1ac8e

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

src/BCMathException.php

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?php
2+
/******************************************************************************
3+
* This file is part of the Phactor PHP project. You can always find the latest
4+
* version of this class and project at: https://github.com/ionux/phactor
5+
*
6+
* Copyright (c) 2015-2025 Rich Morgan
7+
*
8+
* The MIT License (MIT)
9+
*
10+
* Permission is hereby granted, free of charge, to any person obtaining a copy of
11+
* this software and associated documentation files (the "Software"), to deal in
12+
* the Software without restriction, including without limitation the rights to
13+
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
14+
* the Software, and to permit persons to whom the Software is furnished to do so,
15+
* subject to the following conditions:
16+
*
17+
* The above copyright notice and this permission notice shall be included in all
18+
* copies or substantial portions of the Software.
19+
*
20+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
22+
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
23+
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
24+
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
25+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26+
******************************************************************************/
27+
28+
namespace Phactor\Exceptions;
29+
30+
use Exception;
31+
32+
class BCMathException extends Exception
33+
{
34+
}

0 commit comments

Comments
 (0)