getType

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