GetResourceLoadFailureReason: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
==Example== | ==Example== | ||
<section name="Server" class=" | <section name="Server" class="server" show="true"> | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
-- Add example.. | -- Add example.. |
Revision as of 12:57, 13 June 2009
This function retrieves the reason why a resource failed to start.
Syntax
string getResourceLoadFailureReason ( resource theResource )
Required Arguments
- theResource: The resource you wish to check.
Returns
If the resource failed to load, returns a string with the failure reason in it. If it loaded successfully, returns an empty string. Returns false if the resource doesn't exist.
Example
Click to collapse [-]
Server-- Add example..
See Also
- abortRemoteRequest
- call
- fetchRemote
- getResourceConfig
- getResourceDynamicElementRoot
- getResourceExportedFunctions
- getResourceFromName
- getResourceName
- getResourceRootElement
- getResourceState
- getThisResource
- getRemoteRequests
- getRemoteRequestInfo