Skip to content

Complete port of the Meteor.Error class from Meteor.

License

Notifications You must be signed in to change notification settings

Share911/meteor-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

meteor-error

Port of the Meteor.Error class from Meteor.

Usage

import * as Meteor from '@share911/meteor-error'

throw new Meteor.Error(500, 'Internal server error')

or

import { Error as MeteorError } from '@share911/meteor-error'

throw new MeteorError(500, 'Internal server error')

Full documentation

About

Complete port of the Meteor.Error class from Meteor.

Resources

License

Stars

Watchers

Forks

Packages

No packages published