LoadError
- class LoadError()
Error object that is thrown when a model could not be loaded. This can be triggered when trying to load a streaming model into an SCS session or vise versa. This error object will also be thrown if an invalid URL is supplied when trying to load a SCS file.
Constructors
Properties
Methods
Constructors
- LoadError.constructor(message)
- Arguments
message (
string()
) – None
Creates a new LoadError
- Return type
LoadError
Properties
- LoadError.message
- Type
string
- LoadError.name
- Type
string
- LoadError.stack
- Type
string optional
- LoadError.prepareStackTrace
- Type
function optional
Optional override for formatting stack traces
- LoadError.prepareStackTrace(err, stackTraces)
- Arguments
err (
Error()
) – NonestackTraces (
[CallSite]()
) – None
- Return type
any
- LoadError.stackTraceLimit
- Type
number
Methods
static captureStackTrace
- LoadError.captureStackTrace(targetObject[, constructorOpt])
- Arguments
targetObject (
object()
) – NoneconstructorOpt (
Function()
) – optional None
Create .stack property on a target object
- Return type
void