SAP / go-ase

SAP ASE Database Client for Go
Apache License 2.0
25 stars 14 forks source link

Simplify ReturnStatusPackage.WriteTo #83

Closed ntnn closed 4 years ago

ntnn commented 4 years ago

Description

The .WriteTo errors should only return the errors directly instead of adding context. If an error occurs while writing bytes to the BytesChannel the error is either below in the code implementing BytesChannel or a handling errors further up.

How was the patch tested?

make test and make integration.