]> git.proxmox.com Git - pve-common.git/commit - src/PVE/Exception.pm
overload cmp operator for PVE::Exception
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 13 Oct 2011 09:14:30 +0000 (11:14 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 13 Oct 2011 09:14:30 +0000 (11:14 +0200)
commit710d2994af8a8cf8c7ad2af93c93f3b76a77c395
treeee2d57fb7eb96b800b07bc29c6a4b50e7d32bb30
parent8ba7c72bd1e69ee6212a84769c4c637ecfbd3dd7
overload cmp operator for PVE::Exception

So that we can use ($err eq "timeout") like expressions.
data/PVE/Exception.pm