public I2CTransferError(BootloaderError ex) : base(ex, String.Format("Got status code {0}: {1} from bootloader", (int)ex.Status, ((I2CStatusCode)ex.Status).ToString())) { }
public BootloaderError(BootloaderError ex, String message) : base(message, ex) { this.status = ex.status; }
public I2CTransferError(BootloaderError ex) : base(ex, String.Format("Got status code {0}: {1} from bootloader", (int)ex.Status, ((I2CStatusCode) ex.Status).ToString())) { }