Merge pull request #4460 from Roasbeef/failure-resolution-str
invoices: add String() method to failure resolution outcome
This commit is contained in:
1 file changed
+5
@@ -107,6 +107,11 @@ const (
|
|||||||
ResultMppInProgress
|
ResultMppInProgress
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// String returns a string representation of the result.
|
||||||
|
func (f FailResolutionResult) String() string {
|
||||||
|
return f.FailureString()
|
||||||
|
}
|
||||||
|
|
||||||
// FailureString returns a string representation of the result.
|
// FailureString returns a string representation of the result.
|
||||||
//
|
//
|
||||||
// Note: it is part of the FailureDetail interface.
|
// Note: it is part of the FailureDetail interface.
|
||||||
|
|||||||
Reference in new issue
Block a user