Debian Codegraph @

errors.go

raw
1 package tfaddr
2
3 import (
4 "fmt"
5 )
6
7 type ParserError struct {
8 Summary string
9 Detail string
10 }
11
12 func (pe *ParserError) Error() string {
13 return fmt.Sprintf("%s: %s", pe.Summary, pe.Detail)
14 }