NAME
Clang::CastXML::Exception::UsageException - Exception for when the Clang::CastXML is fed rubbish
VERSION
version 0.02
DESCRIPTION
This class represents a usage exception. Usually when you provide the wrong types of arguments to a method or function.
EXTENDS
This class extends Clang::CastXML::Exception.
PROPERTIES
diagnostic
my $diag = $ex->diagnostic;
This returns a concise diagnostic of what usage was wrong.
METHODS
message
my $message = $ex->message;
This returns the exception message.
SEE ALSO
Clang::CastXML, Clang::CastXML::Exception
AUTHOR
Graham Ollis <plicease@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2020 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.