Skip to content

Error handling if connection string is invalid? #7

Description

@SomaQM

Is there a way to catch the error that's thrown if the connection string is invalid? I've been playing around to make sure that if a user enters an invalid username or password then they're informed of it and given the chance to change their credentials, the error I'm getting is:

OLOLO State: 08001, Native error: -30082, Message: [IBM][CLI Driver] SQL30082N Security processing failed with reason "24" ("USERNAME AND/OR PASSWORD INVALID"). SQLSTATE=08001

Repeated a few dozen times. Is there any way to catch this and spit out a response?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions