throwOnUnsuccess

inline fun <Error class: unknown class>.throwOnUnsuccess(unsuccessMessage: () -> String)