newError

open fun newError(@NonNull domain: String, code: Int): GamebaseException
open fun newError(@NonNull domain: String, code: Int, @Nullable data: Intent): GamebaseException
open fun newError(@NonNull domain: String, code: Int, @Nullable cause: Throwable): GamebaseException