create

fun create(message: String?, cause: Throwable?, error: AmityError, httpStatusCode: Int? = null): AmityException
fun create(message: String?, cause: Throwable?, code: Int, httpStatusCode: Int? = null): AmityException