Skip to content

Fix typing of RPCError#535

Merged
sleipnir merged 2 commits into
elixir-grpc:masterfrom
aj-foster:aj/type-fix
May 28, 2026
Merged

Fix typing of RPCError#535
sleipnir merged 2 commits into
elixir-grpc:masterfrom
aj-foster:aj/type-fix

Conversation

@aj-foster
Copy link
Copy Markdown
Contributor

Hello 👋🏼

Just a quick fix to the typing of the RPCError struct. It appears to be expected that the details field will be nil, for example when calling exception/2. This makes Dialyzer happy for those who observe it.

❤️

@sleipnir sleipnir merged commit 7936c63 into elixir-grpc:master May 28, 2026
10 of 14 checks passed
@sleipnir
Copy link
Copy Markdown
Collaborator

Thanks @aj-foster

@aj-foster aj-foster deleted the aj/type-fix branch May 28, 2026 13:14
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