Skip to content

Commit

Permalink
add error example
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Oct 5, 2018
1 parent 05e81e0 commit d48fd0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/error.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const consola = require('../src/cjs')

consola.error(new Error('consola is awesome'))

0 comments on commit d48fd0f

Please sign in to comment.