ErrorType


class ErrorType


Specifies the type of a WebGPU error.

Summary

Constants

const Int

An internal implementation error occurred.

const Int

No error occurred.

const Int

An out-of-memory error occurred.

const Int

An unknown error occurred.

const Int

A validation error occurred.

Public companion functions

String
toString(value: Int)

Constants

Internal

const val Internal = 4: Int

An internal implementation error occurred.

NoError

const val NoError = 1: Int

No error occurred.

OutOfMemory

const val OutOfMemory = 3: Int

An out-of-memory error occurred.

Unknown

const val Unknown = 5: Int

An unknown error occurred.

Validation

const val Validation = 2: Int

A validation error occurred.

Public companion functions

toString

Added in 1.0.0-alpha05
fun toString(value: Int): String