API Reference

InvalidCastExceptionclass

Thrown when a value cannot be treated as the required type.

Quick facts
Kind
class
Base class
CustomError
Members
1
Package
@rs-x/core

Import

import { InvalidCastException } from '@rs-x/core';

Example

import { InvalidCastException } from '@rs-x/core';

const instance = new InvalidCastException(...args);

Members

1 member in this class.

constructor
constructorpublic
constructor(message: string)

Parameters

Name
Type
Required
message
string
required