This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
159bb44
commit 214cac7
Showing
10 changed files
with
180 additions
and
185 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
package xyerror | ||
|
||
// Default predefined errors. | ||
// Predefined Exceptions. | ||
var ( | ||
Error = NewClass("Error") | ||
IOError = NewClass("IOError") | ||
FloatingPointError = NewClass("FloatingPointError") | ||
IndexError = NewClass("IndexError") | ||
KeyError = NewClass("KeyError") | ||
NotImplementedError = NewClass("NotImplementedError") | ||
ValueError = NewClass("ValueError") | ||
ParameterError = NewClass("ParameterError") | ||
TypeError = NewClass("TypeError") | ||
AssertionError = NewClass("AssertionError") | ||
BaseException = NewException("BaseException") | ||
IOError = NewException("IOError") | ||
FloatingPointError = NewException("FloatingPointError") | ||
IndexError = NewException("IndexError") | ||
KeyError = NewException("KeyError") | ||
ValueError = NewException("ValueError") | ||
ParameterError = NewException("ParameterError") | ||
TypeError = NewException("TypeError") | ||
AssertionError = NewException("AssertionError") | ||
) |
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.