mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-14 01:31:15 -05:00
10 lines
640 B
CoffeeScript
10 lines
640 B
CoffeeScript
|
c = require 'schemas/schemas'
|
||
|
|
||
|
module.exports =
|
||
|
'web-dev:error': c.object {title: 'Web Dev Error', description: 'Published when an uncaught error occurs in the web-dev iFrame', required: []},
|
||
|
message: { type: 'string' }
|
||
|
url: { type: 'string', description: 'URL of the host iFrame' }
|
||
|
line: { type: 'integer', description: 'Line number of the start of the code that threw the exception (relative to its <script> tag!)' }
|
||
|
column: { type: 'integer', description: 'Column number of the start of the code that threw the exception' }
|
||
|
error: { type: 'string', description: 'The .toString of the originally thrown exception' }
|