pcp
[Top] [All Lists]

[performancecopilot/pcp] python: add errno attribute to pmErr class (#11

To: performancecopilot/pcp <pcp@xxxxxxxxxxxxxxxxxx>
Subject: [performancecopilot/pcp] python: add errno attribute to pmErr class (#112)
From: Ryan Doyle <notifications@xxxxxxxxxx>
Date: Tue, 06 Sep 2016 02:45:10 -0700
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=github.com; h=from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=ujBOKoDol2a2/WbpC2dqR1ArV9s=; b=sL1OOqZb4QECWUY7 5Gbv8xKRnZn5vI9FRoOTcq3FtcNoPs6vRRD6tAOZrLymBJ61oHFK0HCbjfFZ3RNW QM3drcLylBd/8xviLH+cRm0d2jSVqUoFwKNR/pnxsMEAEXWo6VUmajWKuYe6EK3d Fd8FpmzneHm4jhGoBp5hTPBMdC0=
List-archive: https://github.com/performancecopilot/pcp
List-id: performancecopilot/pcp <pcp.performancecopilot.github.com>
List-post: <mailto:reply+00bd08b65b1d446272a8a529975835c0ab2324383b14d1e692cf0000000113e6522692a169ce0a716813@reply.github.com>
List-unsubscribe: <mailto:unsub+00bd08b65b1d446272a8a529975835c0ab2324383b14d1e692cf0000000113e6522692a169ce0a716813@reply.github.com>, <https://github.com/notifications/unsubscribe/AL0Itkv8hcdbTEE8VjvIIA3fHaRNW7Q9ks5qnTYmgaJpZM4J1pxs>
Reply-to: performancecopilot/pcp <reply+00bd08b65b1d446272a8a529975835c0ab2324383b14d1e692cf0000000113e6522692a169ce0a716813@xxxxxxxxxxxxxxxx>

Exposes the error code that the exception was raised with via the errno attribute. This follows the convention of Python built-in exceptions.


You can view, comment on, or merge this pull request online at:

  https://github.com/performancecopilot/pcp/pull/112

Commit Summary

  • python: add errno attribute to pmErr class

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<Prev in Thread] Current Thread [Next in Thread>