{"id":21503324,"url":"https://github.com/grantstreetgroup/dbix-parseerror-mysql","last_synced_at":"2026-02-08T17:32:14.944Z","repository":{"id":56835038,"uuid":"338163034","full_name":"GrantStreetGroup/DBIx-ParseError-MySQL","owner":"GrantStreetGroup","description":"Error parser for MySQL","archived":false,"fork":false,"pushed_at":"2024-11-19T18:54:55.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-19T19:53:35.812Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GrantStreetGroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-11T21:56:51.000Z","updated_at":"2024-11-19T18:54:58.000Z","dependencies_parsed_at":"2023-02-19T12:45:30.751Z","dependency_job_id":null,"html_url":"https://github.com/GrantStreetGroup/DBIx-ParseError-MySQL","commit_stats":{"total_commits":14,"total_committers":3,"mean_commits":4.666666666666667,"dds":0.2142857142857143,"last_synced_commit":"08e5e0e0d2d50de02021105a3fec9b4eb7b3cbe1"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrantStreetGroup%2FDBIx-ParseError-MySQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrantStreetGroup%2FDBIx-ParseError-MySQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrantStreetGroup%2FDBIx-ParseError-MySQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrantStreetGroup%2FDBIx-ParseError-MySQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GrantStreetGroup","download_url":"https://codeload.github.com/GrantStreetGroup/DBIx-ParseError-MySQL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226079493,"owners_count":17570471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-23T18:21:42.667Z","updated_at":"2026-02-08T17:32:14.884Z","avatar_url":"https://github.com/GrantStreetGroup.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nDBIx::ParseError::MySQL - Error parser for MySQL\n\n# VERSION\n\nversion v1.0.4\n\n# SYNOPSIS\n\n    use DBIx::ParseError::MySQL;\n\n    eval {\n        my $result = $dbh-\u003edo('SELECT 1');\n    };\n    if ($@) {\n        if (DBIx::ParseError::MySQL-\u003enew($@)-\u003eis_transient) { $dbh-\u003ereconnect }\n        else                                                { die; }\n    }\n\n# DESCRIPTION\n\nThis module is a database error categorizer, specifically for MySQL. This module is also\ncompatible with Galera's WSREP errors.\n\n# ATTRIBUTES\n\n## orig\\_error\n\nReturns the original, untouched error object or string.\n\n## error\\_string\n\nReturns the stringified version of the error.\n\n## error\\_type\n\nReturns a string that describes the type of error.  These can be one of the following:\n\n    lock             Lock errors, like a lock wait timeout or deadlock\n    connection       Connection/packet failures, disconnections\n    shutdown         Errors that happen when a server is shutting down\n    duplicate_value  Duplicate entry errors\n    unknown          Any other error\n\n## is\\_transient\n\nReturns a true value if the error is the type that is likely transient.  For example,\nerrors that recommend retrying transactions or connection failures.  This check can be\nused to figure out if it's worth retrying a transaction.\n\nThis is merely a check for the following [error types](#error_type):\n`lock connection shutdown`.\n\n# CONSTRUCTORS\n\n## new\n\n    my $parsed_error = DBIx::ParseError::MySQL-\u003enew($@);\n\nReturns a `DBIx::ParseError::MySQL` object.  Since the error is the only parameter, it\ncan be passed by itself.\n\n# SEE ALSO\n\n[DBIx::Class::ParseError](https://metacpan.org/pod/DBIx%3A%3AClass%3A%3AParseError) - A similar parser, but specifically tailored to [DBIx::Class](https://metacpan.org/pod/DBIx%3A%3AClass).\n\n# AUTHOR\n\nGrant Street Group \u003cdevelopers@grantstreet.com\u003e\n\n# COPYRIGHT AND LICENSE\n\nThis software is Copyright (c) 2020 - 2025 by Grant Street Group.\n\nThis is free software, licensed under:\n\n    The Artistic License 2.0 (GPL Compatible)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrantstreetgroup%2Fdbix-parseerror-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrantstreetgroup%2Fdbix-parseerror-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrantstreetgroup%2Fdbix-parseerror-mysql/lists"}