GetResourceLoadFailureReason: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 12: | Line 12: | ||
===Returns=== | ===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== | ==Example== |
Revision as of 13:06, 28 March 2008
This function retrieves the reason why a resource failed to start.
Syntax
string getResourceLoadFailureReason ( resource )
Required Arguments
- resource: 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
This example does...
--This line does... blabhalbalhb --abababa --This line does this... mooo
See Also
- abortRemoteRequest
- call
- fetchRemote
- getResourceConfig
- getResourceDynamicElementRoot
- getResourceExportedFunctions
- getResourceFromName
- getResourceName
- getResourceRootElement
- getResourceState
- getThisResource
- getRemoteRequests
- getRemoteRequestInfo
-- leave this unless you complete the function