| Package | playerio |
| Interface | public interface ErrorLog |
| Method | Defined 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 | ||
| writeError | () | method |
public function writeError(error:String, details:String, stacktrace:String, extraData:Object, callback:Function = null, errorHandler:Function = null):voidWrite 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
|