Skip to main content
Module

x/imagemagick_deno/src/internal/exception/exception.ts>Exception

Deno port of the WASM library for ImageMagick
Latest
class Exception
import { Exception } from "https://deno.land/x/imagemagick_deno@0.0.26/src/internal/exception/exception.ts";

Constructors

new
private
Exception(pointer: Pointer)

Properties

private
readonly
pointer: Pointer
readonly
ptr: number

Methods

private
isError()
check<TReturnType>(success: () => TReturnType, error: () => TReturnType): TReturnType

Static Methods

private
checkException<TReturnType>(exception: Pointer, result: TReturnType): TReturnType
private
createError(exception: number, severity: MagickErrorSeverity): MagickError
private
dispose(exception: Pointer): void
private
getErrorSeverity(exception: number): MagickErrorSeverity
private
getMessage(exception: number): string
private
isRaised(exception: Pointer): boolean
private
throw(exception: Pointer, severity: MagickErrorSeverity): void
use<TReturnType>(func: (exception: Exception) => TReturnType): TReturnType
usePointer<TReturnType>(func: (exception: number) => TReturnType): TReturnType