blob: 2eaafeb132a07a6c93893ffbdd54bccfb40d8f1b [file] [log] [blame]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package fidlgen
import (
// TemplateFatalf exits the program with a formatted error message similar to
// Printf. It is meant to be used by helper functions invoked by the template
// engine, since normal panics are swallowed by it.
func TemplateFatalf(format string, a ...interface{}) {
fmt.Printf(format, a...)