Skip to content

fix error handling

Codecov / codecov/patch failed Mar 17, 2024 in 1s

60.65% of diff hit (target 76.73%)

View this Pull Request on Codecov

60.65% of diff hit (target 76.73%)

Annotations

Check warning on line 25 in decode.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

decode.go#L24-L25

Added lines #L24 - L25 were not covered by tests

Check warning on line 31 in decode.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

decode.go#L30-L31

Added lines #L30 - L31 were not covered by tests

Check warning on line 25 in encode.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

encode.go#L24-L25

Added lines #L24 - L25 were not covered by tests

Check warning on line 31 in encode.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

encode.go#L30-L31

Added lines #L30 - L31 were not covered by tests

Check warning on line 22 in ext/decoder_stream.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/decoder_stream.go#L20-L22

Added lines #L20 - L22 were not covered by tests

Check warning on line 24 in ext/decoder_stream.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/decoder_stream.go#L24

Added line #L24 was not covered by tests

Check warning on line 29 in ext/decoder_stream.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/decoder_stream.go#L27-L29

Added lines #L27 - L29 were not covered by tests

Check warning on line 31 in ext/decoder_stream.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/decoder_stream.go#L31

Added line #L31 was not covered by tests

Check warning on line 36 in ext/decoder_stream.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/decoder_stream.go#L34-L36

Added lines #L34 - L36 were not covered by tests

Check warning on line 38 in ext/decoder_stream.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/decoder_stream.go#L38

Added line #L38 was not covered by tests

Check warning on line 43 in ext/decoder_stream.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/decoder_stream.go#L41-L43

Added lines #L41 - L43 were not covered by tests

Check warning on line 45 in ext/decoder_stream.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/decoder_stream.go#L45

Added line #L45 was not covered by tests

Check warning on line 54 in ext/decoder_stream.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/decoder_stream.go#L48-L54

Added lines #L48 - L54 were not covered by tests

Check warning on line 57 in ext/decoder_stream.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/decoder_stream.go#L56-L57

Added lines #L56 - L57 were not covered by tests

Check warning on line 59 in ext/decoder_stream.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/decoder_stream.go#L59

Added line #L59 was not covered by tests

Check warning on line 22 in internal/common/buffer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/common/buffer.go#L22

Added line #L22 was not covered by tests

Check warning on line 22 in internal/stream/decoding/bin.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/stream/decoding/bin.go#L19-L22

Added lines #L19 - L22 were not covered by tests

Check warning on line 24 in internal/stream/decoding/bin.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/stream/decoding/bin.go#L24

Added line #L24 was not covered by tests

Check warning on line 33 in internal/stream/decoding/bin.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/stream/decoding/bin.go#L33

Added line #L33 was not covered by tests

Check warning on line 40 in internal/stream/decoding/bin.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/stream/decoding/bin.go#L40

Added line #L40 was not covered by tests

Check warning on line 47 in internal/stream/decoding/bin.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/stream/decoding/bin.go#L47

Added line #L47 was not covered by tests

Check warning on line 52 in internal/stream/decoding/bin.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/stream/decoding/bin.go#L52

Added line #L52 was not covered by tests

Check warning on line 12 in internal/stream/decoding/bool.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/stream/decoding/bool.go#L12

Added line #L12 was not covered by tests

Check warning on line 24 in internal/stream/decoding/bool.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/stream/decoding/bool.go#L24

Added line #L24 was not covered by tests

Check warning on line 17 in internal/stream/decoding/complex.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/stream/decoding/complex.go#L17

Added line #L17 was not covered by tests