1DBIx::Class::Helper::ScUhseemra:C:oDnitdrYiobuuMteeDadBnI(Px3e:)r:lClDaoscsu:m:eHnetlapteiro:n:Schema::DidYouMean(3)
2
3
4
6 DBIx::Class::Helper::Schema::DidYouMean - Nice error messages when you
7 misspell the name of a ResultSet
8
10 package MyApp::Schema;
11
12 __PACKAGE__->load_components('Helper::Schema::DidYouMean');
13
14 Elsewhere:
15
16 $schema->resultset('Usre')->search(...)->...
17
18 And a nice exception gets thrown:
19
20 The ResultSet "Usre" is not part of your schema.
21
22 To help you debug this issue, here's a list of the actual sources that the
23 schema knows about:
24
25 Account
26 Permission
27 Role
28 * User <-- Possible Match
29
31 This helper captures errors thrown when you use the "resultset" method
32 on your schema and typo the source name. It tries to highlight the
33 best guess as to which you meant to type.
34
36 Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
37
39 This software is copyright (c) 2020 by Arthur Axel "fREW" Schmidt.
40
41 This is free software; you can redistribute it and/or modify it under
42 the same terms as the Perl 5 programming language system itself.
43
44
45
46perl v5.32.0 202D0B-I0x7:-:2C8lass::Helper::Schema::DidYouMean(3)