Throw instead of returning an error