nsbaci 1.0
Loading...
Searching...
No Matches
errorTypes.h File Reference

Type definitions for error-related structures. More...

Include dependency graph for errorTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nsbaci::types::ErrorBase
 Base structure containing common error properties. More...
struct  nsbaci::types::CompileError
 Error payload for compilation errors. More...
struct  nsbaci::types::SaveError
 Error payload for file save errors. More...
struct  nsbaci::types::LoadError
 Error payload for file load errors. More...
struct  nsbaci::types::RuntimeError
 Error payload for runtime errors. More...

Namespaces

namespace  nsbaci::types
 Type definitions namespace for nsbaci (runtime-specific).
namespace  nsbaci
 Root namespace for the nsbaci application.

Typedefs

using nsbaci::types::ErrMessage = std::string
using nsbaci::types::ErrorPayload
 Variant type for all possible error payloads.

Enumerations

enum class  nsbaci::types::ErrSeverity { Warning , Error , Fatal }
 Severity levels for errors.
enum class  nsbaci::types::ErrType {
  emptyPath , invalidPath , invalidExtension , directoryNotFound ,
  fileNotFound , notARegularFile , permissionDenied , openFailed ,
  readFailed , writeFailed , compilationError , unknown
}
 Types of errors that can occur in the application.

Detailed Description

Type definitions for error-related structures.

This header provides type aliases and enums used by the Error module and other components that handle errors.

Author
Nicolás Serrano García