Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

throw error typescript

var my_error : Error = new Error("Task failed successfully!");
throw my_error;
 
PREVIOUS NEXT
Tagged: #throw #error #typescript
ADD COMMENT
Topic
Name
4+7 =