• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

fhunleth / slipstream
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: fix-type-error
DEFAULT BRANCH: main
Repo Added 25 Sep 2024 12:21AM UTC
Token isnojErmYwbWOroruUhzfohKZAyaHExu7 regen
Build 1 Last
Files 44
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix-type-error
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • fix-type-error

24 Sep 2024 08:11PM UTC coverage: 100.0%. First build
f4d7476b58000eb5c2341d1ee2e598f43eaa31f7

push

github

fhunleth
Fix Elixir 1.17 type error

```
    warning: unknown key .message in expression:

        maybe_json_parser_exception.message

    where "maybe_json_parser_exception" was given the type:

        # type: %{..., __exception__: true, __struct__: atom()}
        # from: lib/slipstream/serializer/phoenix_socket_v2_serializer.ex:65
        rescue maybe_json_parser_exception ->

    hint: when you rescue without specifying exception names, the variable is assigned a type of a struct but all of its fields are unknown. If you are trying to access an exception's :message key, either specify the exception names or use `Exception.message/1`.

    typing violation found at:
    │
 68 │           [message: maybe_json_parser_exception.message],
    │                                                 ~~~~~~~
    │
    └─ lib/slipstream/serializer/phoenix_socket_v2_serializer.ex:68:49: Slipstream.Serializer.PhoenixSocketV2Serializer.encode!/2
```

433 of 433 relevant lines covered (100.0%)

38.52 hits per line

Relevant lines Covered
Build:
Build:
433 RELEVANT LINES 433 COVERED LINES
38.52 HITS PER LINE
Source Files on fix-type-error
  • Tree
  • List 44
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
f4d7476b... fix-type-error Fix Elixir 1.17 type error ``` warning: unknown key .message in expression: maybe_json_parser_exception.message where "maybe_json_parser_exception" was given the type: # type: %{..., __exception__: true, __struct__: ato... push 25 Sep 2024 12:21AM UTC fhunleth github
100.0
See All Builds (1)

Badge your Repo: slipstream

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc