tvm
Public Member Functions | Public Attributes | List of all members
tvm::relay::CompileError Class Reference

Custom Error class to be thrown during compilation. More...

#include <error.h>

Inheritance diagram for tvm::relay::CompileError:
Collaboration diagram for tvm::relay::CompileError:

Public Member Functions

 CompileError (const std::string &msg)
 construct error from message. More...
 
 CompileError (const ErrorBuilder &err)
 construct error from error builder. More...
 
 CompileError (const CompileError &other)
 copy constructor. More...
 
 CompileError ()
 default constructor. More...
 

Public Attributes

Span span
 Location of the error. More...
 

Detailed Description

Custom Error class to be thrown during compilation.

Constructor & Destructor Documentation

◆ CompileError() [1/4]

tvm::relay::CompileError::CompileError ( const std::string &  msg)
inlineexplicit

construct error from message.

Parameters
msgThe message

◆ CompileError() [2/4]

tvm::relay::CompileError::CompileError ( const ErrorBuilder err)
inline

construct error from error builder.

Parameters
errThe error builder

◆ CompileError() [3/4]

tvm::relay::CompileError::CompileError ( const CompileError other)
inline

copy constructor.

Parameters
otherThe other ereor.

◆ CompileError() [4/4]

tvm::relay::CompileError::CompileError ( )
inline

default constructor.

Member Data Documentation

◆ span

Span tvm::relay::CompileError::span

Location of the error.


The documentation for this class was generated from the following file: