Class SharedException.Builder
-
- All Implemented Interfaces:
public class SharedException.Builder
-
-
Method Summary
Modifier and Type Method Description final SharedException.Builderwith(String code, String message)final SharedException.Builderwith(ErrorResponse error)final SharedException.Builderwith(Function0<ErrorResponse> error)final UnitthrowMeIfNotEmpty()final UnitthrowMe()final SharedExceptionbuild()-
-
Method Detail
-
with
final SharedException.Builder with(String code, String message)
-
with
final SharedException.Builder with(ErrorResponse error)
-
with
final SharedException.Builder with(Function0<ErrorResponse> error)
-
throwMeIfNotEmpty
final Unit throwMeIfNotEmpty()
-
build
final SharedException build()
-
-
-
-