throws support
js api Error Function and Boolean