blob: c60c7fc29a32bdcbab13ceda48376c682babb652 [file] [log] [blame]
package runtime
// An errorString represents a runtime error described by a single string.
type errorString string
func (e errorString) RuntimeError() {}
func (e errorString) Error() string {
return "runtime error: " + string(e)
}
func Breakpoint()
type Error interface {
error
RuntimeError()
}
const GOOS = "linux"
const GOARCH = "amd64"
func GC()