Skip to content

Commit

Permalink
feat: export CastError type
Browse files Browse the repository at this point in the history
Fix #7
  • Loading branch information
vkarpov15 committed Aug 28, 2017
1 parent 2b278fb commit 1c3a971
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
module.exports = require('./src').Archetype;
module.exports.to = require('./src/to');
module.exports.CastError = require('./src').CastError;
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,4 @@ function join(path, key) {
}

exports.Archetype = Archetype;
exports.CastError = require('./unmarshal/error');

0 comments on commit 1c3a971

Please sign in to comment.