Skip to content

Enhance decoding to include offset_to properties#12

Open
to-bak wants to merge 1 commit into
haljin:masterfrom
to-bak:master
Open

Enhance decoding to include offset_to properties#12
to-bak wants to merge 1 commit into
haljin:masterfrom
to-bak:master

Conversation

@to-bak

@to-bak to-bak commented Jul 2, 2026

Copy link
Copy Markdown

No description provided.

)
end

defp raise_argument_error(pdu_name, field_name, msg) do

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this removed?

Comment thread test/exgencode_test.exs
@@ -569,14 +573,14 @@ defmodule ExgencodeTest do
test "custom size function" do
pdu = %TestPdu.CustomSizeFunPdu{custom: {5, 1024}}

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happened here, why did the behaviour change?

Comment thread lib/decode_error.ex
@@ -0,0 +1,8 @@
defmodule Exgencode.DecodeError do

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could probably be also used in some other cases that now just fail generically?

@haljin

haljin commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Might as well bump the package version as part of this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants