restrictions
2 years ago
BrowserReporting.js
2 years ago
ReportingContext.js
2 years ago
ReportingInterface.js
2 years ago
RestrictionError.js
2 years ago
functions.js
2 years ago
RestrictionError.js
16 lines
| 1 | function RestrictionError( message ) { |
| 2 | Error.call( this, message ); |
| 3 | |
| 4 | if ( Error.captureStackTrace ) { |
| 5 | Error.captureStackTrace( this, RestrictionError ); |
| 6 | } |
| 7 | else { |
| 8 | this.stack = ( |
| 9 | new Error() |
| 10 | ).stack; |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | RestrictionError.prototype = Object.create( Error.prototype ); |
| 15 | |
| 16 | export default RestrictionError; |