Packageplayerio
Interfacepublic interface ErrorLog

Allows developers to write entries to the Player.IO error log from ActionScript



Public Methods
 MethodDefined By
  
writeError(error:String, details:String, stacktrace:String, extraData:Object, callback:Function = null, errorHandler:Function = null):void
Write error to the Player.IO error log
ErrorLog
Method Detail
writeError()method
public function writeError(error:String, details:String, stacktrace:String, extraData:Object, callback:Function = null, errorHandler:Function = null):void

Write error to the Player.IO error log

Parameters

error:String — error name
 
details:String — error details
 
stacktrace:String — possible stacktrace
 
extraData:Object — additional debug data
 
callback:Function (default = null) — optional callback executed when error was submitted to the server
 
errorHandler:Function (default = null) — optional callback executed if the error request failed