UNPKG

kindergarten

Version:

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

7 lines (5 loc) 203 B
export default function NoSandboxError(message) { this.name = 'NoSandboxError'; this.message = message || 'Perimeter must be imported into a sandbox.'; } NoSandboxError.prototype = Error.prototype;