15 lines
191 B
Go
15 lines
191 B
Go
|
package tfaddr
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
)
|
||
|
|
||
|
type ParserError struct {
|
||
|
Summary string
|
||
|
Detail string
|
||
|
}
|
||
|
|
||
|
func (pe *ParserError) Error() string {
|
||
|
return fmt.Sprintf("%s: %s", pe.Summary, pe.Detail)
|
||
|
}
|