UnixSocketIo.classify_file_result: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/coordinator/UnixSocketIo.bend as UnixSocketIo Lines 54-60 of mylsm-lsm-store@0.6.0.1/src/coordinator/UnixSocketIo.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/UnixSocketIo.bend&start_line=54&end_line=60 import Base # Rewrites an accepted descriptor's error domain. def classify_file_result( pair: File & Result<&1, &1, U32 & String, File> ) -> File & Result<&1, &1, Error, File>: match pair: case (server, Done{client}): (server, Done{client}) case (server, Fail{error}): (server, Fail{classify(error)}) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=File https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/UnixSocketIo.bend&name=Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/UnixSocketIo.bend&name=classify