Position returns the (line, column) pair indicating where the error occurred in the document. Positions are 1-indexed.
()
| 80 | // Position returns the (line, column) pair indicating where the error |
| 81 | // occurred in the document. Positions are 1-indexed. |
| 82 | func (e *DecodeError) Position() (row int, column int) { |
| 83 | return e.line, e.column |
| 84 | } |
| 85 | |
| 86 | // Key that was being processed when the error occurred. |
| 87 | func (e *DecodeError) Key() Key { |
no outgoing calls