Skip to content
Snippets Groups Projects
  • Nutomic's avatar
    93225e5d
    Error enum fixed (#3487) · 93225e5d
    Nutomic authored
    
    * Create error type enum
    
    * Replace magic string slices with LemmyErrorTypes
    
    * Remove unused enum
    
    * Add rename snake case to error enum
    
    * Rename functions
    
    * clippy
    
    * Fix merge errors
    
    * Serialize in PascalCase instead of snake_case
    
    * Revert src/lib
    
    * Add serialization tests
    
    * Update translations
    
    * Fix compilation error in test
    
    * Fix another compilation error
    
    * Add code for generating typescript types
    
    * Various fixes to avoid breaking api
    
    * impl From<LemmyErrorType> for LemmyError
    
    * with_lemmy_type
    
    * trigger ci
    
    ---------
    
    Co-authored-by: default avatarSleeplessOne1917 <abias1122@gmail.com>
    Error enum fixed (#3487)
    Nutomic authored
    
    * Create error type enum
    
    * Replace magic string slices with LemmyErrorTypes
    
    * Remove unused enum
    
    * Add rename snake case to error enum
    
    * Rename functions
    
    * clippy
    
    * Fix merge errors
    
    * Serialize in PascalCase instead of snake_case
    
    * Revert src/lib
    
    * Add serialization tests
    
    * Update translations
    
    * Fix compilation error in test
    
    * Fix another compilation error
    
    * Add code for generating typescript types
    
    * Various fixes to avoid breaking api
    
    * impl From<LemmyErrorType> for LemmyError
    
    * with_lemmy_type
    
    * trigger ci
    
    ---------
    
    Co-authored-by: default avatarSleeplessOne1917 <abias1122@gmail.com>
utils.rs 9.95 KiB