func NewContainer(code codes.Code, format string, args ...interface{}) *Container {
	return (&Container{}).New(code, format, args...)
}
NewContainer function returns a new entity of error container.
package errors
import (
	"fmt"
	"google.golang.org/grpc/codes"
	"google.golang.org/grpc/status"
	"github.com/golang/protobuf/proto"
	"github.com/infobloxopen/atlas-app-toolkit/rpc/errdetails"
	"github.com/infobloxopen/atlas-app-toolkit/rpc/errfields"
)
type Container struct {
	details []*errdetails.TargetInfo
	fields *errfields.FieldInfo
	errCode    codes.Code
	errMessage string
	errSet bool
	Mapper
}