// ScopeOrErr returns the Scope value or an error if the edge
// was not loaded in eager-loading, or loaded but was not found.
ScopeOrErr returns the Scope value or an error if the edge
was not loaded in eager-loading, or loaded but was not found.
// ScopeOrErr returns the Scope value or an error if the edge // was not loaded in eager - loading or loaded but was not found .
func (e FactEdges) ScopeOrErr() (*Scope, error) {
	if e.loadedTypes[0] {
		if e.Scope == nil {
			return nil, &NotFoundError{label: scope.Label}
		}
		return e.Scope, nil
	}
	return nil, &NotLoadedError{edge: "scope"}
}
func ( e FactEdges ) ScopeOrErr ( ) ( * Scope , error ) { if e . loadedTypes [ 0 ] { if e . Scope == nil { return nil , & NotFoundError { label : scope . Label } } return e . Scope , nil } return nil , & NotLoadedError { edge : " " } }
ScopeOrErr returns the Scope value or an error if the edge
was not loaded in eager-loading, or loaded but was not found.
ScopeOrErr returns the Scope value or an error if the edge was not loaded in eager - loading or loaded but was not found .
// The edge scope was loaded in eager-loading, // but was not found.