throws

Bun

Symbol

$.throws

function throws(shouldThrow: boolean): typeof $

Configure whether or not the shell should throw an exception on non-zero exit codes.