-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consolidated exceptions with horstoeko/orderx
- Loading branch information
HorstOeko
committed
Oct 13, 2024
1 parent
9229906
commit ef86636
Showing
12 changed files
with
99 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
/** | ||
* This file is a part of horstoeko/zugferd. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace horstoeko\zugferd\exception; | ||
|
||
/** | ||
* Class representing an exception for missing a file | ||
* | ||
* @category Zugferd | ||
* @package Zugferd | ||
* @author D. Erling <[email protected]> | ||
* @license https://opensource.org/licenses/MIT MIT | ||
* @link https://github.com/horstoeko/zugferd | ||
*/ | ||
class ZugferdBaseException extends \Exception | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
/** | ||
* This file is a part of horstoeko/zugferd. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace horstoeko\zugferd\exception; | ||
|
||
/** | ||
* Class representing the internal coes for Order-X-Exceptions | ||
* | ||
* @category Zugferd | ||
* @package Zugferd | ||
* @author D. Erling <[email protected]> | ||
* @license https://opensource.org/licenses/MIT MIT | ||
* @link https://github.com/horstoeko/zugferd | ||
*/ | ||
class ZugferdExceptionCodes | ||
{ | ||
public const CANNOTFINDPROFILESTRING = -1101; | ||
public const UNKNOWNPROFILE = -1102; | ||
public const MIMETYPENOTSUPPORTED = -1103; | ||
public const UNKNOWNDATEFORMAT = -1104; | ||
public const NOVALIDATTACHMENTFOUNDINPDF = -1105; | ||
public const UNKNOWNPROFILEPARAMETER = -1106; | ||
public const UNKNOWNSYNTAX = -1107; | ||
public const FILENOTFOUND = -2000; | ||
public const FILENOTREADABLE = -2001; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.