...

Package errors

import "github.com/matrix-org/go-neb/errors"
Overview
Index

Overview ▾

type HTTPError

type HTTPError struct {
    WrappedError error
    Message      string
    Code         int
}

HTTPError An HTTP Error response, which may wrap an underlying native Go Error.

func (HTTPError) Error

func (e HTTPError) Error() string