gitlab.com/evatix-go/core@v1.3.55/coreimpl/enumimpl/enumUnmarshallingMappingFailedError.go (about)

     1  package enumimpl
     2  
     3  import (
     4  	"fmt"
     5  )
     6  
     7  func enumUnmarshallingMappingFailedError(
     8  	typeName string,
     9  	valueGiven string,
    10  	rangesAvailable string,
    11  ) error {
    12  	//goland:noinspection GoErrorStringFormat
    13  	return fmt.Errorf(
    14  		errUnmappedMessage,
    15  		typeName,
    16  		valueGiven,
    17  		rangesAvailable)
    18  }