WebGpuRuntimeException


open class WebGpuRuntimeException : Exception

Known direct subclasses
InternalException

Exception for Internal type errors.

OutOfMemoryException

Exception for OutOfMemory type errors.

UnknownException

Exception for Unknown type errors.

ValidationException

Exception for Validation type errors.


Base class for exceptions that can happen at runtime.

Summary

Public companion functions

WebGpuRuntimeException
create(type: Int, message: String)

Create the exception for the appropriate error type.

Public constructors

Inherited properties

From kotlin.Throwable

Public companion functions

create

Added in 1.0.0-alpha02
fun create(type: Int, message: String): WebGpuRuntimeException

Create the exception for the appropriate error type.

Parameters
type: Int

The ErrorType.

message: String

A human-readable message describing the error.

Public constructors

WebGpuRuntimeException

Added in 1.0.0-alpha02
WebGpuRuntimeException(message: String)