Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💥 refactor(api)!: Do not export default export.
BREAKING CHANGE: Default export gone.
- Loading branch information
1 parent
7cf20f8
commit 8684af2
Showing
1 changed file
with
21 additions
and
28 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 |
---|---|---|
@@ -1,30 +1,23 @@ | ||
import Error from './Error' ; | ||
import SyntaxError from './SyntaxError' ; | ||
import TypeError from './TypeError' ; | ||
import IndexError from './IndexError' ; | ||
import KeyError from './KeyError' ; | ||
import NotImplementedError from './NotImplementedError' ; | ||
import ValueError from './ValueError' ; | ||
import StopIteration from './StopIteration' ; | ||
|
||
export default { | ||
Error , | ||
SyntaxError , | ||
TypeError , | ||
IndexError , | ||
KeyError , | ||
NotImplementedError , | ||
ValueError , | ||
StopIteration , | ||
} ; | ||
import Error from './Error.js'; | ||
import IndexError from './IndexError.js'; | ||
import KeyError from './KeyError.js'; | ||
import NotImplementedError from './NotImplementedError.js'; | ||
import StopIteration from './StopIteration.js'; | ||
import SyntaxError from './SyntaxError.js'; | ||
import TypeError from './TypeError.js'; | ||
import ValueError from './ValueError.js'; | ||
import customError from './customError.js'; | ||
import extendError from './extendError.js'; | ||
|
||
export { | ||
Error , | ||
SyntaxError , | ||
TypeError , | ||
IndexError , | ||
KeyError , | ||
NotImplementedError , | ||
ValueError , | ||
StopIteration , | ||
} ; | ||
Error, | ||
IndexError, | ||
KeyError, | ||
NotImplementedError, | ||
StopIteration, | ||
SyntaxError, | ||
TypeError, | ||
ValueError, | ||
customError, | ||
extendError, | ||
}; |