Hyperlinkv0.8.0-beta.28

Cause

Cause.isExceededCapacityErrorconsteffect/Cause.ts:1558
(u: unknown): u is ExceededCapacityError

Checks whether an arbitrary value is an ExceededCapacityError.

Example (Checking the runtime type)

import { Cause } from "effect"

console.log(Cause.isExceededCapacityError(new Cause.ExceededCapacityError())) // true
console.log(Cause.isExceededCapacityError("nope")) // false
guards
Source effect/Cause.ts:15581 lines
export const isExceededCapacityError: (u: unknown) => u is ExceededCapacityError = effect.isExceededCapacityError