UNPKG

kindergarten

Version:

Kindergarten is a JavaScript library which helps programmers to achieve modular security using sandbox pattern

7 lines (5 loc) 191 B
export default function NoPurposeError(message) { this.name = 'NoPurposeError'; this.message = message || 'Perimeter must have a purpose.'; } NoPurposeError.prototype = Error.prototype;