func NewError(statuscode int, msg string) *Error {
	return &Error{StatusCode: statuscode, Message: msg}
}
NewError returns a new slack error with statuscode and msg.
package slack
import (
	"fmt"
)
type Error struct {
	StatusCode int
	Message string
}