ExceptionsKt

Added in 1.0.0-alpha01

public final class ExceptionsKt


Summary

Public methods

static final @NonNull WebGpuRuntimeException
getException(int type, @NonNull String message)

Create the exception for the appropriate error type.

Public methods

getException

public static final @NonNull WebGpuRuntimeException getException(int type, @NonNull String message)

Create the exception for the appropriate error type.

Parameters
int type

The ErrorType.

@NonNull String message

A human-readable message describing the device loss.