encoding: Status should also implement Error
diff --git a/encoding/ssh/filexfer/fx.go b/encoding/ssh/filexfer/fx.go
index 464c98d..3eeac65 100644
--- a/encoding/ssh/filexfer/fx.go
+++ b/encoding/ssh/filexfer/fx.go
@@ -61,6 +61,10 @@
 	StatusV6NoMatchingByteRangeLock
 )
 
+func (f Status) Error() string {
+	return f.String()
+}
+
 func (f Status) String() string {
 	switch f {
 	case StatusOK: