...

Source file src/github.com/opencontainers/runc/libcontainer/cgroups/fs/error.go

Documentation: github.com/opencontainers/runc/libcontainer/cgroups/fs

     1  package fs
     2  
     3  import (
     4  	"fmt"
     5  
     6  	"github.com/opencontainers/runc/libcontainer/cgroups/fscommon"
     7  )
     8  
     9  type parseError = fscommon.ParseError
    10  
    11  // malformedLine is used by all cgroupfs file parsers that expect a line
    12  // in a particular format but get some garbage instead.
    13  func malformedLine(path, file, line string) error {
    14  	return &parseError{Path: path, File: file, Err: fmt.Errorf("malformed line: %s", line)}
    15  }
    16  

View as plain text