setType

open fun setType(@NonNull type: ErrorType)

Sets the type of error based on the originating platform (intended for internal use only)