Skip to content

Commit

Permalink
🎨 refactor(customError): Name default export for style.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed Mar 15, 2021
1 parent 8684af2 commit 4ad2549
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/customError.js
@@ -1,4 +1,5 @@
import Error from './Error' ;
import extendError from './extendError' ;

export default name => extendError( Error , name ) ;
const customError = name => extendError( Error , name ) ;
export default customError;

0 comments on commit 4ad2549

Please sign in to comment.