NAME
Net::Proxmox::VE::Exception - Functions for the 'cluster' portion of the API
VERSION
version 0.43
SYNOPSIS
use Net::Proxmox::VE::Exception;
Net::Proxmox::VE::Exception->throw( "What went wrong" )
INTERNAL METHODS
_new
This is a standard new() interface, but is intended for internal usage rather than as the public interface.
Any argument will be included in the object.
PUBLIC METHODS
as_string
The exception details as human readable string
$obj->as_string()
file
File that called the function
$obj->file()
line
Line in the file that called the function
$obj->line()
message
Message why the exception occured
$obj->message()
throw
This is intended as the public interface.
To be used like this
use Net::Proxmox::VE::Exception;
Net::Proxmox::VE::Exception->throw( "message")
Net::Proxmox::VE::Exception->throw( { message => "message" } )
SEE ALSO
AUTHOR
Dean Hamstead <dean@fragfest.com.au>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2025 by Dean Hamstead.
This is free software, licensed under:
The MIT (X11) License