Skip to content

Incorrect exception when giving an unknown arg #7

@joelmoss

Description

@joelmoss

Calling this...

confirm! off_session: true

on a method with this signature...

sig manual: T.Boolean, payment_method_id: T.Nilable(String)

Raises...

Delivered::ArgumentError: `Transaction::PaymentIntent#confirm!` expected `` as keyword arg :off_session, but received `true`

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions