Skip to content
module@warp-drive/ember/index

Class Throw<T> ​

Defined in: warp-drive-packages/ember/dist/index.d.ts:317

The <Throw /> component is used to throw an error in a template.

That's all it does. So don't use it unless the application should throw an error if it reaches this point in the template.

gts
<Throw @error={{anError}} />

Extends ​

  • default<ThrowSignature<T>>

Type Parameters ​

T ​

T

Constructors ​

Constructor ​

ts
new Throw<T>(owner, args): Throw<T>;

Defined in: warp-drive-packages/ember/dist/index.d.ts:318

Parameters ​

owner ​

Owner

args ​
error ​

T

Returns ​

Throw<T>

Overrides ​

ts
Component<ThrowSignature<T>>.constructor

Released under the MIT License.