GODPAPER | All Packages | All Classes | Index | Frames No Frames |
ErrorLog

Package | playerio
Interface | public interface ErrorLog

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

Public Methods

| 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

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

Thu Jan 16 2014, 01:11 PM +08:00