FreeBSD Manual Pages
DBIx::Class::Helper::SUseraContributedIPerClass::Helper::Schema::DidYouMean(3) NAME DBIx::Class::Helper::Schema::DidYouMean - Nice error messages when you misspell the name of a ResultSet SYNOPSIS package MyApp::Schema; __PACKAGE__->load_components('Helper::Schema::DidYouMean'); Elsewhere: $schema->resultset('Usre')->search(...)->... And a nice exception gets thrown: The ResultSet "Usre" is not part of your schema. To help you debug this issue, here's a list of the actual sources that the schema knows about: Account Permission Role * User <-- Possible Match DESCRIPTION This helper captures errors thrown when you use the "resultset" method on your schema and typo the source name. It tries to highlight the best guess as to which you meant to type. AUTHOR Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com> COPYRIGHT AND LICENSE This software is copyright (c) 2020 by Arthur Axel "fREW" Schmidt. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.32.0 20DBIx::Class::Helper::Schema::DidYouMean(3)
NAME | SYNOPSIS | DESCRIPTION | AUTHOR | COPYRIGHT AND LICENSE
Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=DBIx::Class::Helper::Schema::DidYouMean&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>