Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

JsErrorCode

rhuanjl edited this pageOct 9, 2018 ·3 revisions

An error code returned from a Chakra hosting API.

Syntax

enum JsErrorCode : unsigned int

Members

  • JsNoError: Success error code.
  • JsErrorCategoryUsage: Category of errors that relates to incorrect usage of the API itself.
  • JsErrorInvalidArgument: An argument to a hosting API was invalid.
  • JsErrorNullArgument: An argument to a hosting API was null in a context where null is not allowed.
  • JsErrorNoCurrentContext: The hosting API requires that a context be current, but there is no current context.
  • JsErrorInExceptionState: The engine is in an exception state and no APIs can be called until the exception is cleared.
  • JsErrorNotImplemented: A hosting API is not yet implemented.
  • JsErrorWrongThread: A hosting API was called on the wrong thread.
  • JsErrorRuntimeInUse: A runtime that is still in use cannot be disposed.
  • JsErrorBadSerializedScript: A bad serialized script was used, or the serialized script was serialized by a different version of the Chakra engine.
  • JsErrorInDisabledState: The runtime is in a disabled state.
  • JsErrorCannotDisableExecution: Runtime does not support reliable script interruption.
  • JsErrorHeapEnumInProgress: A heap enumeration is currently underway in the script context.
  • JsErrorArgumentNotObject: A hosting API that operates on object values was called with a non-object value.
  • JsErrorInProfileCallback: A script context is in the middle of a profile callback.
  • JsErrorInThreadServiceCallback: A thread service callback is currently underway.
  • JsErrorCannotSerializeDebugScript: Scripts cannot be serialized in debug contexts.
  • JsErrorAlreadyDebuggingContext: The context cannot be put into a debug state because it is already in a debug state.
  • JsErrorAlreadyProfilingContext: The context cannot start profiling because it is already profiling.
  • JsErrorIdleNotEnabled: Idle notification given when the host did not enable idle processing.
  • JsCannotSetProjectionEnqueueCallback: The context did not accept the enqueue callback.
  • JsErrorCannotStartProjection: Failed to start projection.
  • JsErrorInObjectBeforeCollectCallback: The operation is not supported in an object before collect callback.
  • JsErrorObjectNotInspectable: Object cannot be unwrapped to IInspectable pointer.
  • JsErrorPropertyNotSymbol: A hosting API that operates on symbol property ids but was called with a non-symbol property id. The error code is returned by JsGetSymbolFromPropertyId if the function is called with non-symbol property id.
  • JsErrorPropertyNotString: A hosting API that operates on string property ids but was called with a non-string property id. The error code is returned by existing JsGetPropertyNamefromId if the function is called with non-string property id.
  • JsErrorInvalidContext: Module evaluation is called in wrong context.
  • JsInvalidModuleHostInfoKind: The Module HostInfoKind provided was invalid.
  • JsErrorModuleParsed: Module was parsed already when JsParseModuleSource is called.
  • JsNoWeakRefRequired: Argument passed to JsCreateWeakReference is a primitive that is not managed by the GC. No weak reference is required, the value will never be collected.
  • JsErrorPromisePending: ThePromise object is still in the pending state.
  • JsErrorCategoryEngine: Category of errors that relates to errors occurring within the engine itself.
  • JsErrorOutOfMemory: The Chakra engine has run out of memory.
  • JsErrorBadFPUState: The Chakra engine failed to set the Floating Point Unit state.
  • JsErrorCategoryScript: Category of errors that relates to errors in a script.
  • JsErrorScriptException: A JavaScript exception occurred while running a script.
  • JsErrorScriptCompile: JavaScript failed to compile.
  • JsErrorScriptTerminated: A script was terminated due to a request to suspend a runtime.
  • JsErrorScriptEvalDisabled: A script was terminated because it tried to useeval orfunction and eval was disabled.
  • JsErrorCategoryFatal: Category of errors that are fatal and signify failure of the engine.
  • JsErrorFatal: A fatal error in the engine has occurred.
  • JsErrorWrongRuntime: A hosting API was called with object created on different javascript runtime.
  • JsErrorCategoryDiagError: Category of errors that are related to failures during diagnostic operations.
  • JsErrorDiagAlreadyInDebugMode: The object for which the debugging API was called was not found.
  • JsErrorDiagNotInDebugMode: The debugging API can only be called when VM is in debug mode.
  • JsErrorDiagNotAtBreak: The debugging API can only be called when VM is at a break.
  • JsErrorDiagInvalidHandle: Debugging API was called with an invalid handle.
  • JsErrorDiagObjectNotFound: The object for which the debugging API was called was not found.
  • JsErrorDiagUnableToPerformAction: VM was unable to perform the request action.

Want to contribute to this Wiki?

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp