setType

open fun setType(@NonNull type: ErrorType)

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