ITwinError.throwError Function

Instantiate and immediately throw an ITwinError.

throwError<T extends ITwinError>(args: Omit<T, "name">): never

@see ITwinError.create to instantiate an error without throwing it.

Parameter Type Description
args Omit<T, "name">  

Returns - never

Defined in

Last Updated: 23 April, 2025