1
0
Fork 0
mirror of https://github.com/Luzifer/culmqtt.git synced 2024-11-10 06:50:06 +00:00
culmqtt/vendor/github.com/eclipse/paho.mqtt.golang/oops.go

22 lines
445 B
Go
Raw Normal View History

/*
* Copyright (c) 2013 IBM Corp.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Seth Hoenig
* Allan Stockdill-Mander
* Mike Robertson
*/
package mqtt
func chkerr(e error) {
if e != nil {
panic(e)
}
}