skp method

create SkipError instance ref runCatching.ignoreSkipError

runCatching((){
  if(someCdt) throw skp('skip error'); // throw, but on catching
  return 'ok';
},
onFailure: (e,s){
  print('$e; $s'); // will not print SkipError
});

Implementation

@visibleForTesting
@protected
@override
SkipError skp(String msg) => super.skp(msg);